Forums › Forums › Search & Filter Pro › Custom display results method and AJAX search results are showing w/o Filter
Tagged: ajax, custom display
- This topic has 4 replies, 2 voices, and was last updated 5 years, 5 months ago by Anonymous.
-
Anonymous(Private) June 4, 2019 at 4:44 pm #213287
I do not have my live/staging site set up (everything is currently on local, so I cannot show a link to what is happening). However, I am using the Custom display results method and having it point to the same page the search is happening on (so the results show where the “All posts” are showing). Everything is seeming to work great, I have AJAX turned on and my results show up correctly and styling is all set, but the Filter goes away after the first search is made. Is there a way to continue using the AJAX method with my Custom display and have the filter code still show up on the results? When I turn AJAX off, the filters show up with the results, but it refreshes the page and pops to the top of the page, neither of which I want to happen. I am really hoping to use AJAX and have the filter continue to show up on the results so that the user can search again or go back to all posts again using the filter. Thanks!
Anonymous(Private) June 4, 2019 at 7:48 pm #213310I am using the Custom “display results method” under the Display Options tab when setting up the filter. I am pointing the Template Options to the URL for the same page the original code is on, the Body class (that shows the template being used) is pulling in as identical. The only thing on the page that keeps changing is the Filter no longer shows up. I wish that were the case, because then it would be a simpler fix, I am sure.
Anonymous(Private) June 4, 2019 at 8:14 pm #213314Thank you so much! That was it! This is my first time using this plugin, and I did not realize I had to change that field. I apologize for missing that setting and taking up so much of your time. Thank you so much, it is working perfectly now! I really appreciate it!
-
AuthorPosts