[wp-trac] [WordPress Trac] #21951: Twenty Twelve: add post_type_archive_title to archive.php

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 21 22:04:19 UTC 2012


#21951: Twenty Twelve: add post_type_archive_title to archive.php
---------------------------+------------------
 Reporter:  thomask        |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by obenland):

 Replying to [comment:11 lancewillett]:
 > Fewer template files.
 I agree with Lance on the template issue. Except for the archive title,
 the rest of the template is the same anyway. I rather have a bit more code
 in `archive.php` than more files.

 [[BR]]

 > I vote not to add this to Twenty Twelve. I've not seen
 is_post_type_archive() used in a theme before.
 I think archive titles dedicated to custom taxonomies and post types would
 be a nice addition. I'll refresh the patch to pick up the
 `term_description()` part from @nacin. Except that it never was done
 before, are there additional things that bother you about this?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21951#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list