WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
PageNavi and AJAX loaded content (1 post)

  1. sylverCode
    Member
    Posted 1 year ago #

    My situation:

    Had to install a cache plugin. Dynamic content/plugins, such as PostViews, do not work/update on cached pages, so I made them load using AJAX (Receive server response and append it where you need it).

    I made a page to display most viewed posts (Using the post meta provided by the PostViews plugin.) and had to AJAXify it for the reason stated above. Now when I navigate the pagination, PageNavi uses http://yoursite/wp-admin/admin-ajax.php?paged=# instead of http://yoursite/pagename?paged=#.

    Is there any way to fix this? I'm having the same problem as the guy here:
    http://premium.wpmudev.org/forums/topic/using-wp_pagenavi-for-pagination-with-ajax-loaded-content-but-getting-links-based-on-wp-adminadmin-ajaxphp

    Thanks in advance!

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic