Forums Forums Search & Filter Pro Link to a pre-filtered search

Viewing 6 posts - 1 through 6 (of 6 total)
  • Ross Moderator
    #112704

    Sure, when you perform a search the URL should update.

    If it does not (and you have ajax enabled), then you need edit your search form, then head to –

    display results -> ajax -> make searches bookmarkable

    Once you do this, you can copy & paste the URL and its structure to generate whichever links you like.

    Best

    Anonymous
    #112707

    Under the AJAX section in Display Results I have the Load results using Ajax? and the Make searches bookmarkable? checked.

    This is the url I am trying to go to http://www.raponline.org/?sfid=5489&_sf_s=richard%20cowart&_sft_content_type_news_and_events=workshop

    Nothing shows up until you type into the search field. Would there be another setting that I could check out to make it work?

    Ross Moderator
    #112713

    Hey John

    I see there is a weird setting / implementation you have on your site.

    The search bar does not even belong to S&F (but a dev, probably you, did a clever hack to integrate that with our search form).

    If you use the inspector, you can see at:

    http://www.raponline.org/?sfid=5489&_sft_content_type_news_and_events=workshop

    Your results are there, but they have opacity:0

    Somewhere in your custom implementation of the search bar, you have some code controlling this I think – or simply, in your markup, you have an inline style setting the opacity to 0 initially.

    You just need to make sure, on page load, that the opacity is not set to 0.

    Hope that helps

    Anonymous
    #112717

    Thanks so much. I can’t believe I overlooked that. Another question, I would like the search term to appear in the search field once I get to this page is that an option?

    Ross Moderator
    #112722

    Hey John

    You could get the search term using the function here:
    https://www.designsandcode.com/documentation/search-filter-pro/accessing-search-data/#Get_the_Search_Term

    And display that as the value of your input field in your markup.

    I think that should do the trick!

    Best

    Anonymous
    #276890

    Hi! Can I also link to a pre-filtered page without the “ugly” parameters lik ?_sf_s=?

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