Changes the behavior of the built-in Recent Comments widget to display comment excerpts instead of post titles
This plugin replaces the default recent comments widget so it behaves differently. Instead of the format “username on post title,” the widget will display “username said comment excerpt.”
All development happens on Github at https://github.com/csalzano/recent-comments-widget-with-comment-excerpts
Contact me by posting a message in the forums or @breakfastcodes on twitter.
Wrapped the author name with an HTML span to allow CSS to target only the author name.
Massage the comment data with strip_tags, apply_filters and mb_substr for international characters/unicode
Stop showing ellipsis if the comment length is not long enough to be trimmed by the widget
First build