Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#14262 closed enhancement (duplicate)

Advanced queries for custom taxonomy

Reported by: kriesi81's profile Kriesi81 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords: taxonomy, query
Focuses: Cc:

Description

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)));

Change History (1)

#1 @nacin
15 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.