Forums Forums Search & Filter Pro Conditional tags – change the display template after list has been filtered

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #173731

    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.

    Trevor
    #173785

    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

Viewing 2 posts - 1 through 2 (of 2 total)