Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Sort search results by tag?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Ilana Offen
    #176059

    First: Thanks for an amazing plugin. I can’t believe how many useful settings there are!

    Question: I’d like to sort the search results first by tag, then by title. Any advice about how to go about that? (Not filter by tag, but sort by tag.)

    Thanks for your help!

    Trevor Moderator
    #176110

    That is not possible, as we do not support sorting by taxonomies. The reason is that you can have multiple tags (and category/taxonomy) on posts, and which term would we use to sort on?

    A sort requires a single value field, so some custom fields this can be done on (not ones that can have multiple values). Be aware that if there is no value for a taxonomy/custom field the post will be omitted from the results entirely.

    Ilana Offen
    #176218

    A thorough and super useful answer, thank you! I’m new to WP and didn’t register the fact that the taxonomies were multi-value. Sorting on a new single-value select field did the trick. Double (!!) thanks for anticipating that I’d be lost when all the existing content disappeared from search results. You saved me from much distress, and lead me to an easy fix.

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

The topic ‘Sort search results by tag?’ is closed to new replies.