[wp-trac] [WordPress Trac] #42768: the_archive_title clutter

WordPress Trac noreply at wordpress.org
Fri Dec 1 12:37:12 UTC 2017


#42768: the_archive_title clutter
--------------------------+-----------------------------
 Reporter:  beerwin       |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.9.1
 Severity:  normal        |   Keywords:
  Focuses:  ui, template  |
--------------------------+-----------------------------
 This function (and its get_ counterpart) is adding the "Archives:" prefix
 to the archive title. While the reason for this is understandable, not
 every site is a news/blog site, and many of us wishes to remove this (as
 it is clutter for some presentation sites, where we use standard WordPress
 behavior and custom post types for listing things).

 This function is very useful, as it works with any kind of archives.
 However, the clutter isn't.

 It's OK to leave the feature in by default. The only thing that is needed,
 to add a parameter which we can use to turn it off (using false).

 For example:
 {{{
 the_archive_title($before = '', $after = '', $use_title_prefix = true);
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42768>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list