- This topic has 1 reply, 2 voices, and was last updated 7 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 › Conditional tags – change the display template after list has been filtered
Hello!
Not a complicated question, I’m sure it’s been answered before, but didn’t stumble across anything when I searched, so, here goes:
I’d like to display some additional information in the search results only if the list is filtered. Example:
UNFILTERED LIST:
1. Title
2. Title
3. Title
FILTERED LIST (any filter applied):
1. Title, date
2. Title, date
3. Title, date
I imagine just a conditional tag to display something “if the list is filtered” would do. Can you point me to the documentation for this? Thanks.
The PHP to check if the page has filtered results is shown in this post:
https://support.searchandfilter.com/forums/topic/hide-posts-if-nothing-found/#post-169025