WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
Odd bug on wp-pagenavi 2.7.4 results in only one page shown in nav (3 posts)

  1. freejoe76
    Member
    Posted 3 years ago #

    Hi,

    So, I upgraded to 2.7.4. Now, on any of the pages where wp-pagenavi's called, it only shows "Page 1 of 1 1" (example). On that example page I'm calling wp-pagenavi at the top of the template and on the bottom, and I'm getting the same results on both.

    There are more pages, they're just not being found. Any ideas?

    Thanks,
    Joe

  2. scribu
    Member
    Plugin Author

    Posted 3 years ago #

    Are there any query_posts() or new WP_Query() calls in that template file? Please post them here.

  3. freejoe76
    Member
    Posted 3 years ago #

    Wow Silviu-Cristian, that was a fast response.

    In search.php (which is called in the example above), one of the four places wp_pagenavi()'s called, there are no instances of query_posts() or new WP_Query().

    -Joe

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic