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 results by taxonomy terms

Viewing 3 posts - 1 through 3 (of 3 total)
  • David Morneau
    #129843

    Hello,

    Is it possible to sort the search results by taxonomy term? Further, is it possible to give the user the option of sorting by different taxonomy terms? I don’t see an option for it in the Sort Order field.

    For context, you can see what I’m building here: https://evbvd.com/blog/dm-search-test/
    I would like to give the option to sort results by “Ensemble Size” and “Duration” (at least).

    thank you!
    David

    Trevor Moderator
    #129928

    I am sorry, it is not possible. To be able to sort on data, it is required that only one value per post can be stored in the database, but Taxonomies are multiple values stored as arrays by WordPress.

    If you have a single term for each post, consider making this a custom field instead (using a plugin like ACF), which can then be sorted.

    David Morneau
    #130462

    Okay. Thanks for the quick reply. I’ll explore the custom field option.

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

The topic ‘Sort results by taxonomy terms’ is closed to new replies.