- This topic has 1 reply, 2 voices, and was last updated 5 years, 8 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 › Can I explicitly order the search tags?
Hey Guys,
We’ve got a filtering setup in progress on our main blog page, that allows users to filter down to 1 of 7 tags.
These 7 tags were created randomly throughout the existence of the site, and are not the only tags used on the blog.
My question, is is there an explicit way we can force the 7 tags we want to display in a custom order?
As far as I can tell the ID/ Name / Slug etc will not work for us, and it feels like there should be a way to force them to appear in the order we want.
Thanks
You can, but only by writing you own custom code (although there will be snippets you can probably draw on by searching the forum:
https://support.searchandfilter.com/forums/search/function+sf_results_url/
You will need to use this filter in your child theme functions.php file:
https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object