[wp-trac] [WordPress Trac] #14717: Add option to wp_list_categories (and underlying get_terms or whatever) to restrict by post_type.

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 27 22:16:56 UTC 2010


#14717: Add option to wp_list_categories (and underlying get_terms or whatever) to
restrict by post_type.
-----------------------------+----------------------------------------------
 Reporter:  Finster          |       Owner:                    
     Type:  feature request  |      Status:  new               
 Priority:  normal           |   Milestone:  Awaiting Review   
Component:  Taxonomy         |     Version:  3.0.1             
 Severity:  normal           |    Keywords:  wp_list_categories
-----------------------------+----------------------------------------------
 This is so that when someone uses wp_list_categories they can stop
 categories from showing up that only have elements from custom post types,
 and thereby creates links to a category archive that contains no posts
 because everything in the category has a post_type other than post.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14717>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list