Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#13710 closed feature request (duplicate)

Query posts with custom taxonomies the way similar to query_posts('tag=bread+baking+recipe');

Reported by: defeed's profile defeed Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords:
Focuses: Cc:

Description

Currently it's possible to have post filtered like this:

query_posts('post_type=movie&status=released');

Would be good to do it like this:

query_posts('post_type=movie&status=wishlist+upcoming-seen');

or

query_posts('post_type=movie&status=wishlist,seen');

Change History (6)

#1 @defeed
15 years ago

  • Milestone 3.0 deleted

#2 @dd32
15 years ago

  • Milestone set to Future Release

#3 @ryno267
15 years ago

  • Cc ryno267 added

#4 @kevinB
15 years ago

  • Cc kevinB added

#5 @nacin
14 years ago

  • Keywords close added

I wouldn't mind the shorthand using the taxonomy query variable, but with tax_query, this ticket seems like a worksforme candidate.

#6 @dd32
14 years ago

  • Keywords close removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#12891 implemented Custom taxonomy queries.

The following url's work for me with the expected results

/state/nsw/
/state/vic/
/state/nsw,vic/
/state/nsw+vic

Since query_posts just avoids WP_Rewrite, this should be implemented by the above mentioned ticket

Note: See TracTickets for help on using tickets.