[wp-trac] [WordPress Trac] #10908: Impossible to exclude categries in a category listing

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 8 14:26:17 UTC 2009


#10908: Impossible to exclude categries in a category listing
-----------------------------+----------------------------------------------
 Reporter:  dimitryz         |       Owner:  ryan                                
     Type:  feature request  |      Status:  new                                 
 Priority:  normal           |   Milestone:  Unassigned                          
Component:  Query            |     Version:  2.8.4                               
 Severity:  normal           |    Keywords:  category, wp_query, category__not_in
-----------------------------+----------------------------------------------

Comment(by dimitryz):

 I'm not sure about scribu's answer. Excluding posts is more trouble since
 those posts must first be retrieved. That may be a *lot* of posts.

 I also don't understand that you mean by category_name.
 'category!__not_in' is used with an array of term_ids, not names.

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


More information about the wp-trac mailing list