Support Forums

Support Forums Forums Search & Filter Pro CPT results ordering by custom taxonomy

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Anita

    Hi, Could you please point me in the right direction how to order S&F results by a custom taxonomy? I use the Shortcode Display Result Method and a custom results.php (“4455.php” in theme/searchandfilter/). All filters work fine, but the ordering needs to change. Think I need a custom function for that? Thanks in advance!

    Trevor Moderator

    Generally, we allow searching by Custom Fields (where the meta value is a single value), but taxonomies are stored as arrays in WordPress, so that makes it difficult.

    You might need to set custom sort (sortby) arguments in this filter:

    You would need to work out the logic yourself, or hire a coder, but I think it could be done this way.

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

You must be logged in to reply to this topic.