Forums Forums Search & Filter Pro Hide Results on Page Load

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #219550

    Hi all,

    Might be me being thick but the client has requested that the user must first search using the form before results are loaded. At the moment when the user visits the search page (Form & Results on same page) it automatically shows all results. How can I flip this on it’s head so it shows empty until the user performs a search?

    Thanks,
    Matt

    Trevor
    #219555

    Are you using our Shortcode results method? If so, this post should help:

    https://support.searchandfilter.com/forums/topic/hide-all-results-before-a-search-query-is-made/#post-182014

    The logic can sometimes be applied to your theme PHP templates also.

    Anonymous
    #219613
    This reply has been marked as private.
    Trevor
    #219615

    Ah, my bad. I forgot to say you must change the ID (the example shows 1024) to YOUR form ID. Does that fix it?

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