Forums › Forums › Search & Filter Pro › Pagination not working when using AJAX
- This topic has 7 replies, 2 voices, and was last updated 10 years, 9 months ago by
Ross.
-
Ross Moderator(Private) January 14, 2016 at 4:15 pm #34260
Hey Edward
As I can’t see it with Ajax enabled I’m not able to tell you what is wrong with it.
However, you could be setting the pagination selector incorrectly in your admin (in the Display Results tab).
You should try:
.wp-pagenavi afor this setting.Thanks
Ross Moderator(Private) January 14, 2016 at 5:04 pm #34271Ah yes I see the issue.
Your pagination is working to some extent – the results update fine currently, but, the pagination state never updates.
The issue is your pagination needs to be inside the ajax results selector, so when the new results are fetched the pagination is also reloaded accordingly.
So your page navigation needs to be inside
#main-filter– just to add – your search form itself must not be inside this selector.Thanks
-
AuthorPosts