How to display what user searched on results page?

Forums › Forums › Search & Filter Pro › How to display what user searched on results page?

Tagged: 

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #42058

    Hi there,

    I’m using “As an archive” and a custom template to display results. The results page title is simply “Search Results”. How do I output the criteria the user selected for their search on the results page?

    In this case, the search form is a single drop down menu, and I’d like to display the value they selected from that select field on the results page.

    Thanks

    Trevor
    #42068

    Hi Brian

    Do you have the search form on the results page?

    Anonymous
    #42088

    Hi Trevor,

    No, I don’t. I presume if I did that it would show the selected value in the select field? Preferably, I’d like the results page to show the title “Search Results for –Selected Field Value–”

    Ross Moderator
    #42106

    Hey Brian

    I think you may be looking for the active query class?

    http://www.designsandcode.com/documentation/search-filter-pro/accessing-search-data/

    🙂

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

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.