Add missing translations search page

This commit is contained in:
Jonas Heinrich 2020-06-14 14:59:34 +02:00
parent a9e004e494
commit 106d12341a
6 changed files with 188 additions and 25 deletions

View file

@ -46,7 +46,12 @@ get_header();
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$post_count_start = (($paged -1) * 10) + 1;
$post_count_end = ((($paged -1) * 10) + $wp_query->post_count);
_e("Showing results from", 'kit') . _e(" <strong>" . $post_count_start . " to " . $post_count_end . "</strong>. Total results: <strong>" . $wp_query->found_posts. "</strong>");
_e("Showing results", 'kit');
echo "<strong> ";
printf( esc_html__( '%d to %d', 'kit' ), $post_count_start, $post_count_end );
echo "</strong> ";
_e("from total results", 'kit');
echo " <strong>" . $wp_query->found_posts. "</strong>";
?>
</p>