Forums › Forums › Search & Filter Pro › Ajax filter without refresh the page is not working
- This topic has 33 replies, 3 voices, and was last updated 3 years, 9 months ago by Ross.
-
Anonymous(Private) January 21, 2021 at 5:11 pm #273531
I wish to filter the results based of Custom Fields and I’m having problems with pagination.
Here: https://www.cmuportugal.org/large-scale-collaborative-research-projects/aida/
the botton of the page there are 2 forms.
both are Elementor Posts widget filtered by search & filter pro.
However, due to pagination, when clicked the event forces a page reload to change the page
that behavior is not good. I wish to change the results without reloading the page.
I already changed many things without success.
Can you help me?
Thanks
DanielAnonymous(Private) January 22, 2021 at 10:33 am #273594I wish only to filter the results.
The reason is that the filter is based on ACF field that is not possible with the elementor posts widget alone.
It’s like a static search… (i have several pages -projects- each one with one filter). There is no need to search in this page. only show filtered results.
The result is almost what i need except for the experience.
Currently click on paging forces reload the whole page. which is confusing for the navigation.Trevor(Private) January 22, 2021 at 3:55 pm #273699I think Ajax pagination, which is what you want, may not be possible in this scenario. It may need the form on the page (even if it is hidden, which I am guessing would be OK), but that might lead to another problem, which is that there would then be two forms on the page.
I have referred this to the plugin developer, Ross, for his input.
Ross Moderator(Private) January 27, 2021 at 6:37 pm #274312Hi Daniel
This might be possible, if you are comfortable adding some PHP to modify the results URLs dynamically? (I can help out with that)
You would also have to disable the setting
make searches bookmarkable
as the pagination of the two would interfer.Let me know if that’s an avenue you want to pursue (and if you can create a test page showing the two results again).
Thanks
-
AuthorPosts