[wp-trac] [WordPress Trac] #38545: Add span element to get_the_archive_title()

WordPress Trac noreply at wordpress.org
Sun Nov 20 04:39:56 UTC 2016


#38545: Add span element to get_the_archive_title()
-------------------------+------------------------------
 Reporter:  Kaira        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  4.6.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by jcastaneda):

 Is that not what `the_archive_title()` does already?

 The [https://core.trac.wordpress.org/browser/tags/4.6.1/src/wp-includes
 /general-template.php#L1439 function] accepts two arguments, the first one
 being what will be printed before the title and the second what will be
 printed after.

 The only one that adds any extra markup would be the author.

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


More information about the wp-trac mailing list