- This topic has 3 replies, 2 voices, and was last updated 5 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 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 › Display custom query by default
Tagged: V3
I’m displaying results as a shortcode, and I’m wondering if there’s a way with ‘action’ to display only a certain taxonomy term by default. I’d like the page to start with ‘Case Studies’ only selected – ?_sft_resource_type=case-study – but the user would still have the option to toggle other taxonomy terms. See screenshots:
You can use this filter in your child theme’s functions.php file:
https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object
To re-order the terms in that field.
I am not sure if it will help, but if there are any snippets already in the forum, this forum search should find them:
https://support.searchandfilter.com/forums/search/sf_input_object_pre+function+order/