[wp-trac] [WordPress Trac] #27944: Allow Native Styling of Comment Authors' Names in the .widget_recent_comments Widget

WordPress Trac noreply at wordpress.org
Mon Apr 21 03:32:15 UTC 2014


#27944: Allow Native Styling of Comment Authors' Names in the
.widget_recent_comments Widget
-------------------------+-----------------------------
 Reporter:  EMG          |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Widgets      |    Version:  3.9
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 As it currently stands, WP's native Recent Comments widget
 (`.widget_recent_comments`) which displays a list of the most Recent
 Comments allows CSS styling of the Comment Author (for example,
 bolding)... but only in an indirect manner.

 If and only if the Comment Author has a website linked to them,
 stylization is made possible by targeting the `.url` class found in the
 site link associated with the Author, hence, 'indirect manner'.

 Unfortunately, if the Comment Author has no website linked to them, then
 there is no native stylization option possible to style the Comment
 Author's name with without styling the entire comment listing via the
 `.recentcomments` class.

 I know I could maybe write a function or install other plugins to give me
 more control over such a thing, but it would be nice if WP itself offered
 it as a default option.

 A span tag around Comment Author's names, maybe, to allow direct style
 targeting regardless if the Comment Author has a linked website or not?

 Thank you!

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


More information about the wp-trac mailing list