Print number of post (in reverse)
To print a decreasing counter for the main home query, without sticky posts, you can try: // current page number – paged is 0 on the home page, we use 1 instead $_current_page = is_paged() ? get_query_var( ‘paged’, 1 ) : 1; // posts per page $_ppp = get_query_var( ‘posts_per_page’, get_option( ‘posts_per_page’ ) ); // … Read more