Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#13686 closed enhancement (duplicate)

Adding archive-{post_type}.php to template hierarchy

Reported by: maorb Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Template Keywords: template hierarchy
Focuses: Cc:



I've notice the new template hierarchy of 3.0 that includes single-{post_type}.php for single posts of a custom post type. I've noticed that there is no easy way like this to show all archives of a custom post type. I think that adding template hierarchy file, such as archive-{post_type}.php might be very useful and easy to use.

Thanks, Maor

Change History (1)

#1 @nacin
8 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.