WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] Not aware of what page it's on (7 posts)

  1. Wayfarer Web
    Member
    Posted 3 years ago #

    The pagination shows up and looks nice, but it always thinks it is on page "1" and highlights that page in the navigation.

  2. Wayfarer Web
    Member
    Posted 3 years ago #

    Never mind, I fixed this myself. I had another loop on the page and forgot to wp_reset_query()

  3. sacredpractice
    Member
    Posted 3 years ago #

    how did you do the wp_reset_query? where in the page? i have the same issue.

  4. sacredpractice
    Member
    Posted 3 years ago #

    i added wp_reset_query and still not working...help!

  5. scribu
    Member
    Plugin Author

    Posted 3 years ago #

  6. sacredpractice
    Member
    Posted 3 years ago #

    thanks scribu... my wp site might be more complicated. i'm looking at Simple Custom Post Type Archives plugin and these instructions:

    http://wordpress.stackexchange.com/search?q=custom+post+type+pagination

    due to the fact, I'm using custom permalinks. hopefully this works.

  7. biodrama
    Member
    Posted 3 years ago #

    Don't know if this is a related issue: WP-PageNavi works fine when clicked for navigation, but fails to register clicks from the K2 theme's built in page navigation at the top (Older, Newer). K2's page navigation does register clicks from PageNavi, though. So the problem is as follows: If I navigate to older pages of the blog using the K2 theme's built in navigation, PageNavi still thinks it's on page 1. Any suggestions appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic