WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
Order tags by term_group (3 posts)

  1. pepperhorn
    Member
    Posted 1 year 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?

    Thanks!

    Shaun

    http://wordpress.org/extend/plugins/query-multiple-taxonomies/

  2. Ravi
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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! ;)

    Shaun

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic