Query Multiple Taxonomies
Order tags by term_group (3 posts)

  1. pepperhorn
    Posted 3 years ago #

    Hi ...

    I need to group my tags (WPEC Product Tags) into groups to better display them (ie. Style, Artist, etc.) and have created those groups using the 'term_group' field in the database (unused in WP as far as I can tell).

    Where is the list of taxonomies generated so I could inject an 'oder_by' request for the term_group field?




  2. Ravi
    Posted 3 years ago #

    Hi Shaun,

    Please check http://ravidreams.com/plugin-release-tag-or-category-term_group-order/ for an example query to order posts by term_group.

  3. pepperhorn
    Posted 3 years ago #

    Hey Ravi ...

    Appreciate your response. I was aware of how to grab the taxonomies by term_group (using the standard query) ... I've realized that I need to first grab all the taxonomies in term_group 'x' and then run them through the loop ...

    Trying to do all this with as little overhead as possible. I may have to just go with additional custom taxonomies.

    If anyone has a canned option for doing this I'd appreciate it. Back to the codex and google for me! ;)


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Multiple Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic