WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-PageNavi] Page numbers don't work (4 posts)

  1. asexiness
    Member
    Posted 4 years ago #

    Help! Every since the upgrade my page numbers don't work. If you click on any of the page numbers it stays on the same page.

    There is also a mysterious box that appeared near the page numbers. I checked with my hosting company and they have PHP5.

    Right now no one can navigate around my site. HELP!

    Check out the problem here:
    http://www.accidentalsexiness.com

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. scribu
    Member
    Posted 4 years ago #

    Regarding page numbers:

    http://scribu.net/wordpress/wp-pagenavi/right-way-to-use-query_posts.html

    About the misterious box, try the development version (2.71a).

  3. asexiness
    Member
    Posted 4 years ago #

    Thank you for responding!

    I got rid of the mysterious box but the numbers still don't work.

    I changed this:
    <?php $my_query = new WP_Query('showposts=4&cat=309'); ?>

    To this:
    <?php $my_query = new WP_Query('showposts=4&cat=309' . '&paged=' . get_query_var('paged')); ?>

    It helped make page 20 work but not any others. Thank you!

  4. scribu
    Member
    Posted 4 years ago #

    It seems to be working fine here. I browsed all the way to page 5, with no duplicate posts.

Topic Closed

This topic has been closed to new replies.

About this Topic