WordPress.org

Ready to get started?Download WordPress

Forums

Advanced queries for custom taxonomy (1 post)

  1. Kriesi81
    Member
    Posted 4 years ago #

    Hey, I've already seen multiple threads about the issue (for example this one: http://wordpress.org/support/topic/406601?replies=11 ) and I too think that it should be possible to create advanced queries for custom taxonomies.

    Querying multiple terms from a registered taxonomy should definitley be possible. currently there is only the option for getting entries from all terms or entries from only one term, which somehow limits the usefullness of custom taxonomies.

    In short it would be great to have the same options as with categories (or at least one of those):

    for example:

    query_posts("post_type=discography&recordings=2,3,4")
    query_posts("post_type=discography&recordings=live,studio")
    query_posts(array('recordings__in' => array(2,6)));

    or something similar. Thanks a lot for considering :)

Topic Closed

This topic has been closed to new replies.

About this Topic