[wp-trac] [WordPress Trac] #21995: (get/the)_archive_title and (get/the)_archive_description functions

WordPress Trac noreply at wordpress.org
Sun Mar 3 22:37:35 UTC 2013


#21995: (get/the)_archive_title and (get/the)_archive_description functions
------------------------------------+------------------
 Reporter:  thomask                 |       Owner:
     Type:  feature request         |      Status:  new
 Priority:  normal                  |   Milestone:  3.6
Component:  Template                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:15 DrewAPicture]:
 > Replying to [comment:13 mdgl]:
 > > 3) For custom taxonomies, rather than just printing "Taxonomy
 Archives" we should probably refer to the name of the particular taxonomy
 as already happens with `category` and `post_tag`.
 >
 > I'm going to hold off on customizing the Taxonomy Archives text until we
 have some feedback from folks like @pavelevap, @SergeyBiryukov or @dd32.
 Of late there's been reticence to leverage the taxonomy labels because of
 lack of control over the context.

 The closest thing that comes to mind is `cattitle` argument in
 `feed_links_extra()`: [[BR]]
 http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/general-
 template.php#L1626

 It's `'%1$s %2$s %3$s Category Feed'`, which seems to work.
 `posttypetitle`, on the other hand, is just `'%1$s %2$s %3$s Feed'`, which
 maybe not be ideal for i18n, but there's a comment above it where all the
 placeholders are explained, so that translators could figure it out and
 translate accordingly.

 So I guess `'%1$s Archives: %2$s'` might work too for a custom taxonomy
 archive title, as long as there's an explanation for the placeholders.

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


More information about the wp-trac mailing list