- This topic has 2 replies, 2 voices, and was last updated 7 years, 7 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 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 › Default page when no results
Tagged: Deafaultpage
Hi!
I’ve being reading the documentation and searchin in the forum but have’nt found this issue.
The thing is pretty simple. Just want to know where to assign a default page to show when there are no results filtering through combinations of filters:
If filter A & filter B != AB -> Default page: ‘No results’.
Thank you
You could make the filters update dynamically to (in the main) prevent a no results search. This is done by going to the General settings tab:
Set Auto Count (both settings) to ON
And then in the Form UI:
In each field set Hide Empty to ON
If you are using our Shortcode method, you should follow the Customising the Results documentation.
When editing the results.php file, you can see the section that displays no results found. You can replace this, or indeed add code there to cause the page to re-direct (you would need to Google how to do that).
If you are using any other Display Results method, then they will be using your theme templates, in which the functionality you seek is dependent on your them.