[wp-trac] [WordPress Trac] #38545: Add span element to get_the_archive_title()
WordPress Trac
noreply at wordpress.org
Mon Jan 21 15:08:38 UTC 2019
#38545: Add span element to get_the_archive_title()
-------------------------+------------------------
Reporter: Kaira | Owner: desrosj
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 5.2
Component: Taxonomy | Version: 4.6.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------
Comment (by BinaryMoon):
Thanks for the patch @Confridin
That's a nice idea, but I would rather add the spans (or do both). The
spans gives the users the freedom to hide them with css, or keep them if
they prefer.
In addition adding spans gives the opportunity for some more creative
design. For example in the theme Carmack I wrapped the prefix using a
filter myself, and then styled it as a subheading.
eg https://carmackdemo.wordpress.com/category/books/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38545#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list