[wp-trac] [WordPress Trac] #14262: Advanced queries for custom taxonomy
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 10 15:47:59 UTC 2010
#14262: Advanced queries for custom taxonomy
-------------------------+--------------------------------------------------
Reporter: Kriesi81 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords: taxonomy, query
-------------------------+--------------------------------------------------
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)));
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14262>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list