-
Search Results
-
Topic: Styling the filters
Hi,
Is it possible to style filters to be like in Zalando?
When clicking heading it opens checkbox list and it has Submit and Reset buttons.
In prolongation to this thread:
I need to use the search result/blog style setup seen in “https://ba2018.wpengine.com/tvangssalg” (as i have done a lot of manual php and css tweaks to it) and not the default DIVI blog section layout.
How do i set up the plugin, to work with DIVI, but not through the standard blog module seen in DIVI builder, but directly on the archive.php page?
Hi,
I’m having an issue where the results display on index.php. I have a search bar on my site that when they enter a search term, WordPress automatically takes them to search.php. In search.php is where I have my Search & Filter Pro shortcode. However, if I change the search term in the shortcode’s search bar, it takes me off of the search.php template.
I noticed it when my styles went wonky (based on a body class) and a custom query (on pre_get_posts) from my theme isn’t kicking in anymore because part of my conditional checks for
is_search()
. When I error outis_home()
in my theme for when I try to submit the form from the search.php file, when it loads, the error out says is_home is true.The HTML body classes on the page no longer include the “search search-results” classes that WP adds itself based on the template hierarchy. It now has “home” instead and I noticed there are parameters at the end of the search url.
How do I fix it so it remains on the search.php template even if the user chooses filters or changes the search term to submit again?
Here is how my “Display Results” tab is set in my plugin settings:
Display results method: As an archive
Template Options:
Use custom template for results: Checked
Enter the filename of the custom template: search.php
Set a slug? (Left this empty)Ajax:
Load results using Ajax? (I’ve tried this both checked and unchecked but it didn’t resolve the issue)
Make searches bookmarkable: I had this checked but removed it when I thought it was interfering with the url and therefore where the results showed
Only use Ajax on the results page? Checked
Ajax Container: #search-results-wrapper