' . __( 'Search:', 'twentytwenty' ) . '',
'“' . get_search_query() . '”'
);
if ( $wp_query->found_posts ) {
/* Translators: %s = Number of results */
$archive_subtitle = sprintf( _nx( 'We found %s result for your search.', 'We found %s results for your search.', $wp_query->found_posts, '%s = Number of results', 'twentytwenty' ), $wp_query->found_posts );
} else {
$archive_subtitle = __( 'We could not find any results for your search. You can give it another try through the search form below.', 'twentytwenty' );
}
} elseif ( ! is_home() ) {
$archive_title = get_the_archive_title();
$archive_subtitle = get_the_archive_description();
}
if ( $archive_title || $archive_subtitle ) {
?>
1 ) {
echo '
';
}
the_post();
get_template_part( 'template-parts/content', get_post_type() );
}
} elseif ( is_search() ) {
?>
_x( 'search again', 'Label', 'twentytwenty' ),
)
);
?>