- This topic has 1 reply, 2 voices, and was last updated 5 years, 6 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 › How to add filter to current url
Hello, we have some questions that we didn’t find an answer in the documentation:
1 – how do I keep the current url (archive) to the filter slug?
Example:
I’m in the archive: www…./taxonomy/term/
When applying the filter in the sidebar I want him to add the filter keeping the taxonomy and term of the original archive
www …./taxonomy/term/?sfid=xxx
Tks,
This can only be done IF you are using the ‘Post Type Archive’ or ‘WooCommerce – Shop’ display results method.
The taxonomy in question would then need to be a field in the form (even if you then hide it from the use using CSS).
You would need to select the ‘Enable filtering on Taxonomy Archives’ option, and the ‘Choose which kinds of pages S&F will try to do this on -> Tag, Category & Taxonomy Archives’ option.