[wp-trac] [WordPress Trac] #38545: Add span element to get_the_archive_title()
WordPress Trac
noreply at wordpress.org
Wed Jan 25 01:05:40 UTC 2017
#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: has-patch | Focuses:
-------------------------+------------------------------
Comment (by shireling):
Cool, if it's going to be on the label I think the single span solution
can work nicely. I'm uploading a new patch - this one applies a single
span to just the label (first) half of the title. The `vcard` title on
author archives title remains in place.
It also modifies `the_archive_title();` and `get_the_archive_title();` to
accept an argument defining the class name - if left blank, you get a
span without any class assigned.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38545#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list