[wp-trac] [WordPress Trac] #10908: Impossible to exclude categries in a category listing
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 5 22:19:15 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):
When you're listing the posts for a category. Currently, all posts for
that category and posts for that category's children are displayed. If you
wanted to exclude the posts of one or more child categories,
'category!__not_in' should do the trick.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10908#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list