Advanced AJAX Page Loader
AJAX Page Loader and WP PageNavi (2 posts)

  1. Brian
    Posted 3 years ago #

    First, great plugin. Works like a charm, except in one area for me:

    I have the AJAX Page Loader firing only on my blog. When a navigation link is clicked (using WP PageNavi and PageNavi Style), the navigation doesn't advance. Since I am only showing 4 blog page links at a time, the user cannot click beyond the first 4 pages.

    I am sure others must have experienced this problem, but I cannot find a solution either here or through search results

    You can see the problem on my blog here: http://wheek.it/gpgye

    Any help would be very much appreciated!


  2. sentse
    Posted 3 years ago #

    Bkurious Hello, I found a solution to the problem you describe, if you have code in the WP-PageNavi footer is not updated when you make a change, because the ajax script works only within the scope of "content", for that I have changed the code within the pages that must show the WP-PageNavi, such as within the category page (category.php), as I show in the example:

    <? php endif;?>
    <php if (function_exists ('wp_pagenavi')) {wp_pagenavi ();}>
    </ div> <! - # content ->
    </ section> <! - # primary ->
    <? php get_footer ();?>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    You also need to add the same code page (<? Php if (function_exists ('wp_pagenavi')) {wp_pagenavi ();}>) within the other pages that you want to display. (eg index.php, etc ...)

    I hope you find it useful and excuse my English but I'm Spanish and I used the google translator. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced AJAX Page Loader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic