PageNavi and AJAX loaded content (1 post)

  1. sylverCode
    Posted 3 years 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:

    Thanks in advance!


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic