Show number of posts and number on current page (revisited)
Just change the way you calculate $start and $end: $page = max( 1, get_query_var( ‘paged’ ) ); $ppp = get_query_var(‘posts_per_page’); $start = $ppp * ( $page – 1 ) + 1; $end = $start + $wp_query->post_count – 1; // Start post plus number of posts for current page (not *total* posts for the query)