- This topic has 1 reply, 2 voices, and was last updated 6 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Can't set ajax pagination
Hello,
I am trying to set ajax pagination on search page but ajax is not working on my pagination, I have search page in child theme and in that search page we echoed the anywhere-elementor template also anywhere-elementor template contains search and filter pro shortcode inside it, my ajax pagination selector is inside the ajax container. my ajax container id is == #aesearchfilter and my ajax pagination selector is == .ae-pagination-wrapper a
please have a look at attached image url for better understanding
https://screenpresso.com/=VMOY
https://screenpresso.com/=CxRrb
https://screenpresso.com/=ZFLlf
https://screenpresso.com/=JYbTf
This is the url to search page
search page
Thanks
Our Ajax works by calling the page template and asking it to re-run the part of the PHP inside the ajax container. In your case, the template file does not have that Ajax Container in it. Instead, it is inside the shortcode. That is probably why it is not working. If you need to whole shortcode to refresh, then wrap it in a container and use that.