WordPress.org

Ready to get started?Download WordPress

Forums

Pagination for WP 2.9.2 (14 posts)

  1. vivguz
    Member
    Posted 4 years ago #

    My Wp-PageNavi plugin stop working with the newest WP installation. Is there any pagination plugin that you guys know compatible with 2.9.2?

  2. MichaelH
    Member
    Posted 4 years ago #

    That plugin is compatible with 2.9.2

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

    Please paste all the code from the theme template file (probably index.php) that is using the wp-pagenavi code into a pastebin such as wordpress.pastebin.com, and report the link back here. Maybe someone can spot your problem. Thanks.

  3. vivguz
    Member
    Posted 4 years ago #

    Hey I install that pagination plugin and when I click the number "2" it stays in the 1st page with but with a different layout. Does anyone knows what could be wrong?

    Website: http://les-507.com/

  4. MichaelH
    Member
    Posted 4 years ago #

    See what happens if you change your permalinks to the Default setting by visiting Administration > Settings > Permalinks and clicking on Save Changes.

  5. vivguz
    Member
    Posted 4 years ago #

    Same issue sir. The only difference is that the url is changing to /?paged=# but I still see the same page.

  6. MichaelH
    Member
    Posted 4 years ago #

    Please paste all the code from the theme template file (probably index.php) that is using the wp-pagenavi code into a pastebin such as wordpress.pastebin.com, and report the link back here. Maybe someone can spot your problem. Thanks.

  7. scribu
    Member
    Posted 4 years ago #

  8. vivguz
    Member
    Posted 4 years ago #

    My problem is that I'm using permalinks with custom structure: /%category%/%postname%/

    What do I need to add or change in the plugin in order to make it work? I'm using Wp Page Navi.

  9. scribu
    Member
    Posted 4 years ago #

    It doesn't matter what permalink structure you have. It's a loop issue.

    Did you read the topic I mentioned above?

  10. vivguz
    Member
    Posted 4 years ago #

    Yes I did. I'm not a tech person though. I add the function to the plugin, but where do I put this code line?

    query_posts('cat=7,8,12,13,15&paged='.curPageURL());

  11. scribu
    Member
    Posted 4 years ago #

    Do what MichaelH suggested:

    Please paste all the code from the theme template file (probably index.php) that is using the wp-pagenavi code into a pastebin such as wordpress.pastebin.com, and report the link back here. Maybe someone can spot your problem. Thanks.

  12. vivguz
    Member
    Posted 4 years ago #

    Here it is...

    http://wordpress.pastebin.com/5LicRhdm

    With a brief explanation

  13. scribu
    Member
    Posted 4 years ago #

    Replace

    <?php query_posts('showposts=10'); ?>

    with

    <?php query_posts('showposts=10&paged=' . get_query_var('paged')); ?>

    Again, this is not an issue related to WP-PageNavi.

  14. bestowal
    Member
    Posted 4 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic