Recent Comments Widget with Comment Excerpts

November 28, 2023

Recent Comments Widget with Comment Excerpts Plugin

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.

Installation

  1. Download recent-comments-widget-with-excerpts.zip
  2. Decompress the file contents
  3. Upload the recent-comments-widget-with-excerpts folder to a WordPress plugins directory (/wp-content/plugins)
  4. Activate the plugin from the Administration Dashboard
  5. Open the Widgets page under the Appearance section
  6. Drag the widget to an active sidebar

Screenshots

  1. Sample output

    Sample output

FAQ

Need help? Have a suggestion?

Visit this plugin’s home page

Changelog

1.0.1

  • [Changed] Changes tested up to version to 6.4.1.

1.0.0

  • [Added] Adds a text domain and makes all strings translatable
  • [Added] Adds a setting to modify the character length of the comment excerpt
  • [Added] Adds a license declaration to confirm this is GPLv2 code
  • [Changed] Changes tested up to version number to 5.8.3
  • [Changed] Changes the version number to use semantic versioning
  • [Changed] Changes the plugin URI to point to the Github repo where I am now maintaining this plugin
  • [Removed] Removes inline CSS to best play nice with users’ sites

0.121230

Wrapped the author name with an HTML span to allow CSS to target only the author name.

0.111019

Massage the comment data with strip_tags, apply_filters and mb_substr for international characters/unicode

0.110111

Stop showing ellipsis if the comment length is not long enough to be trimmed by the widget

0.101109

First build

Details

  • Version: 1.0.1
  • Active installations: 200
  • WordPress Version: 2.8
  • Tested up to: 6.4.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars