Forums Forums Search & Filter Pro Can I explicitly order the search tags?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #257883

    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

    Trevor
    #257967

    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

Viewing 2 posts - 1 through 2 (of 2 total)