Keep a certain search query in memory

Forums › Forums › Search & Filter Pro › Keep a certain search query in memory

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #158930

    The website I am working on has a large number of posts, which all have certain area codes. When a visitor uses the search engine they fill in their area code, which then outputs all posts that fall in the same area.

    Is there a way to keep the visitors area code in the memory of the website, regardless of which page they visite afterwards, until they manually change their code in the search engine?

    I store the code in a meta_data field with the advanced custom fields plugin, so basically I am looking for a way to add something like “&_sfm_areacode=12345” to every page after the visitor used the search form.

    Trevor
    #158937

    I am sorry, but this is not a feature of the current version of the plugin (to use transients), but we are working towards use of transients in the next major version (V3), AFAIK.

    Anonymous
    #158940

    Alright, then I will just put this function on ice for my project, and look forward to the next major version. It would be awesome if this feature would be included! 🙂

    Thanks for the update!

Viewing 3 posts – 1 through 3 (of 3 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.