get selected value and show on page?

Forums › Forums › Search & Filter Pro › get selected value and show on page?

Tagged: 

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

    How to get all selected value ?

    And show it on another page one line ?

    Thanks

    Trevor
    #215288

    I am not sure if this is what you want. To show the filters, as I said, this requires custom coding when using the current version of Search & Filter Pro. You can access the filter terms though, but would need further PHP work to display them. To fetch the search terms, the

    https://searchandfilter.com/documentation/accessing-search-data/

    guide is basic but you can extend the idea to fetch other filter terms/data. If you have other filters, then it becomes a little more complex, but I can give you links. This thread might help you:

    https://support.searchandfilter.com/forums/topic/accessing-field-slug-on-search-results/

    … and this search will give similar threads I think:

    https://support.searchandfilter.com/forums/search/sf_current_query+get_array+field+%5Bvalue%5D/

    Note, if you are using Ajax refreshing of the results, any PHP needs to be inside the Ajax Container, or it will not update.

    Anonymous
    #215491

    Sorry, I need more support.

    For example. URL:
    XXXXXXXXXXXXXXXX/wordpress/?sfid=154&_sft_manufacturer=malibu&_sft_year=2017&_sft_engine_type=inboard&_sft_engine_model=all-efi-models

    how can i get those selected value (malibu,2017,inboard,efi) and show on a page?

    Thanks.

    Trevor
    #215517

    It requires custom PHP coding to be added to your theme template file. The links I gave in my previous reply would reveal previous posts that have some code examples in, but you may need a third party coder/freelancer to code this for you. It is a feature we plan to add in the V3 release cycle, but the release of V3 is many months away yet (no fixed ETA).

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.