Opened 16 years ago
Closed 13 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: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Taxonomy | Version: | 3.0.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
No patch or comments in 3 years