Forums › Forums › Search & Filter Pro › pagination not working properly
Tagged: ajax, pagination
- This topic has 4 replies, 2 voices, and was last updated 6 years, 2 months ago by Anonymous.
-
Anonymous(Private) October 18, 2018 at 6:16 pm #191285
hey there.
in my understanding the ajax pagination in your plugin should dinamicly update the results-section, instead of reloading the hole website. unfortunately in my case this is not working. also the “scroll window to” function is not working after pagination. by clicking “next results”, the whole site is reloaded and it just stops at the top of the page. the results-container with the new content will be displayed much further down on the site. this is not really a nice user experience.
at least i wanted to implement the “infinite scroll”, which is also not working. it just shows the same behavior described above (no reaction on changing the setting to “infinite scroll”).
unfortunately i cant make the side public yet. eventually i can show you some code if necessary. i hope we can find a solution without giving access to the site.
I’m working with YOOtheme Pro, if this helps…
thanks in advance for your answer
Trevor(Private) October 19, 2018 at 4:51 pm #191370I cannot yet see anything obviously incorrect.
If you create a test page and use the default results.php file, does the failure of Ajax also happen.
Is it possible to test this also with a default theme? Whilst I cannot see any javascript errors, there might be a conflict with the theme and/or another plugin.
Are you using any lazy load scripts (such as in Jetpack)?
Anonymous(Private) October 22, 2018 at 7:18 pm #191481hey trevor
i guess i found the problem. it seems that ajax-pagination is not working with just the results-shortcode. there has also to be a search-form on the same page (even if i dont need it). so i created a searchform and made it invisible by css. now the ajax-pagination is working fine.
thx again for your time
raphael -
AuthorPosts