Forums Forums Search & Filter Pro How to only show results after searching?

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

    Hi Ross,

    When entering my site right now all the possible search results are shown. What I what is only to show results when the search function is used. How is that possible?

    Thanks!

    Regards,
    Henrik

    Ross Moderator
    #18100

    Hey Henrik

    There is no official way right now – what you can do is hide the results with CSS initially, then when a user has performed a search, you can use JS to show them again.

    There are some jQuery hooks in the FAQs you can use for this:

    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/faqs/

    Thanks

    Anonymous
    #18101

    Thanks!

    Can I just put the jQuery code in the result.php file to make i work?

    Ross Moderator
    #18104

    Ah no the jQuery code is JavaScript – so you need to find the right place in your theme for adding custom Javascript – if you ask your theme devs I’m sure they’d be able to point you to the correct place easily.

    Thanks

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