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

WordPress Trac noreply at wordpress.org
Wed Nov 5 23:29:45 UTC 2014


#21995: (get/the)_archive_title and (get/the)_archive_description functions
---------------------------------------------+--------------------------
 Reporter:  thomask                          |       Owner:  johnbillion
     Type:  feature request                  |      Status:  reopened
 Priority:  normal                           |   Milestone:  4.1
Component:  Themes                           |     Version:  trunk
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch twenty-fifteen commit  |     Focuses:  template
---------------------------------------------+--------------------------

Comment (by obenland):

 Yes, making the prefix filterable wouldn't make a big difference.
 Developers would still have to check for which archive page they're on
 before making a change, due to the nature of the template hierarchy.

 Just replace the entire title like ocean90 suggested—retrieving the title
 of the queried object again should be no concern.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21995#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list