- This topic has 1 reply, 2 voices, and was last updated 8 years, 12 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Returning Results in Current Taxonomy Only
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.
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