How to use global post counter in the loop?
As I already stated in a comment, You need to use get_option( ‘posts_per_page’ ) and get_query_var( ‘paged’ ) to calculate your post numbers You can do something like the following: (I have commented the code to make it easy to follow. This goes into functions.php) function get_post_number() { global $wp_query; /* * Get current page … Read more