Returning Results in Current Taxonomy Only

Forums › Forums › Search & Filter Pro › Returning Results in Current Taxonomy Only

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #83907

    For example, on the page /citroen/berlingo/ if I have a form to select Load Length, how can I ONLY return results from the /citroen/berlingo/ taxonomy and not all posts from the CPT?

    Also, once results are returned, the format of the page is correct, as I’m using ACF to pull in vehicle info. However once the page is refreshed the pay template is changes from my taxonomy template to the archive template.
    Is there any way to avoid this?

    Thanks in advance.

    Trevor
    #84069

    You would have to have the taxonomy as a field in the form itself (even if you decide to hide it with css) and have the detect taxonomy checkbox checked. and yes, the form will re-direct to the results page. This is something we hope to change as an option in a future version of the plugin.

    You could use one of our filters to edit the page URL, but you would need to code this yourself:

    https://www.designsandcode.com/documentation/search-filter-pro/action-filter-reference/#Modify_URLs

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