WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] Wp_pagenavi what page code (3 posts)

  1. occasio
    Member
    Posted 3 years ago #

    Is there a way to return the number of what page you are currently on?

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Sure:

    $current_page = get_query_var( 'paged' );

    But what do you want to do with it?

  3. occasio
    Member
    Posted 3 years ago #

    Thanks

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic