Show number of posts AND number on current page
This should work, but I haven’t tested it: global $wp_query; $page = ( get_query_var(‘paged’) ) ? get_query_var(‘paged’) : 1; $ppp = get_query_var(‘posts_per_page’); $end = $ppp * $page; $start = $end – $ppp + 1; $total = $wp_query->found_posts; echo “Showing posts $start through $end of $total total.”;