Opened 14 years ago
Closed 11 years ago
#14717 closed feature request (maybelater)
Add option to wp_list_categories (and underlying get_terms or whatever) to restrict by post_type.
Reported by: | Finster | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
No patch or comments in 3 years