Make WordPress Core

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's profile 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)

#1 @nacin
14 years ago

  • Milestone changed from Awaiting Review to Future Release

#2 @wonderboymusic
11 years ago

  • Keywords wp_list_categories removed
  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from new to closed

No patch or comments in 3 years

Note: See TracTickets for help on using tickets.