[wp-trac] [WordPress Trac] #13686: Adding archive-{post_type}.php to template hierarchy

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 1 20:43:27 UTC 2010


#13686: Adding archive-{post_type}.php to template hierarchy
-------------------------+--------------------------------------------------
 Reporter:  maorb        |       Owner:                    
     Type:  enhancement  |      Status:  new               
 Priority:  normal       |   Milestone:  3.0               
Component:  Template     |     Version:                    
 Severity:  normal       |    Keywords:  template hierarchy
-------------------------+--------------------------------------------------
 Hi,

 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

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


More information about the wp-trac mailing list