[wp-trac] [WordPress Trac] #14645: Support for multiple meta_key => meta_value pairs in WP_Query

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 19 18:51:34 UTC 2010


#14645: Support for multiple meta_key => meta_value pairs in WP_Query
-------------------------+--------------------------------------------------
 Reporter:  joehoyle     |        Owner:         
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:         
Component:  Query        |      Version:         
 Severity:  normal       |   Resolution:  wontfix
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by scribu):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  Awaiting Review =>


Comment:

 The assumption is that custom field values will be mostly unique. Think
 street addresses. Thus, querying by multiple custom fields isn't a core
 requirement.

 If you want to group posts by various criteria, you should use custom
 taxonomies instead. Sadly, querying multiple custom taxonomies isn't
 supported either... yet. See #9951.

 PS: I too have a plugin for this: http://wordpress.org/extend/plugins
 /query-custom-fields/

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14645#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list