[wp-trac] [WordPress Trac] #54266: Enhancing WordPress - CSS for Category links

WordPress Trac noreply at wordpress.org
Thu Oct 14 16:52:04 UTC 2021


#54266: Enhancing WordPress - CSS for Category links
-------------------------------+-----------------------------------
 Reporter:  ireviewfreemovies  |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  5.8.1
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  ui, css, performance
-------------------------------+-----------------------------------

Comment (by joyously):

 That could be a bit confusing since color is one of the few properties you
 can change for visited links. Color is therefore kind of set up to
 represent the state of the link and using it for something else is
 cognitive load.

 There is a function that has a formatting template parameter, but the
 format is static, not filtered, and doesn't pass the slug. If any of those
 were changed, that would solve your problem, but your theme would need to
 call that function (or `the_taxonomies()`), or just use similar code to
 output the same thing with the class.
 https://developer.wordpress.org/reference/functions/get_the_taxonomies/

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


More information about the wp-trac mailing list