Support » Plugin: WP-PageNavi » Wp_pagenavi what page code
5 years, 7 months ago
Is there a way to return the number of what page you are currently on?
$current_page = get_query_var( 'paged' );
But what do you want to do with it?
I am looking to display the next 10 headlines dynamically. So if you are on page 2 of an archive it will display headlines 30-39, etc. The site is olivecocomag.com if you want to check it out.