Forums Forums Search & Filter Pro Stop searching on page load

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

    Hi,
    I have set up my search filter to work on a movie review site. Using the post meta filter to search custom meta keys using the drop down input type. The search function works fine and returns the results perfectly, my only problem is it searches on page load and returns everything. Really need it to stop doing that.

    Thanks in advance

    Ross Moderator
    #14433

    Hi Denis, what method are you using to display your results, with a shortcode or as archive? (check the “display results” tab)

    Thanks

    Anonymous
    #14496

    Hi Ross,
    I am using a short-code with the results short-code pasted below it.

    Thanks ross

    Ross Moderator
    #14509

    Hi Denis

    There is no option to change this but i’ve been considering adding it.

    Your best bet for now is to create a separate page, which doesn’t contain the results only the search form – this will give the impression of no loaded results.

    Upon using hte search form, the user will be redirected to the real search page – which will then display results. The only thing here is the initial search request won’t be ajax, it will be a redirect to the search page.

    An alternative is to hide the container with the results using CSS, then once the first search has been performed, show the container. You could hook into the ajax evens of S&F to do this (first question on FAQs)

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

    Thanks

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