This plug-in provides a configurable widget to display recent comments with comment author avatars.
I’m quite pleased with the plug-in, I hope you are too. 😳
It makes an ideal companion to my other avatar plug-in.
The plug-in is available as a download here.
All I ask is that you credit the plug-in (i.e. include a link to this page or maybe add a link to your WordPress Blogroll).
Instructions:
- Put the complete plug-in folder into your WordPress plug-in directory (if this doesn’t make sense it probably isn’t something you should be trying 🙂 ) and activate it.
- Go to your Appearance » Widgets page and include Recent Comments in your sidebar.
- Once the widget is added to your sidebar you may easily configure it to provide a display of recent comments with comment author avatars. The options are:
- The title of the widget.
- Limit the number of comments to shown (1 to 15).
- Opt to display the avatar of the comment author, or not.
- Set the size of the avatar.
- Chose to have the comment author’s URL (if given) open in a new window,
- Show the date of the comment, or not.
- Set the format of the date.
- Set the size of the date string (as a fraction of the normal text size).
- The style of the output may be controlled with simple CSS rules that need to be included in your
styles.css
template file.- The container (i.e.
<ul>
or<table>
) has the id recentcomments (use CSS.recentcomments
). - List items (i.e.
<li>
) have the class recentcomments (use CSS#recentcomments
).
- The container (i.e.
With great regret comments are closed on this post as I’m being deluged with queries that often boil down to “how to” requests and not issues with the plug-in, which works perfectly! 🙂 So, if you want support, even advice, use the Feedback link and ask away…
But please note I will ask for a donation before I’ll look at “how to” questions, I can’t teach PHP programming for free.
Version History:
- 3.5 – Add option to exclude comments from scheduled posts.
- 3.4 – Tidy up IP lookup.
- 3.3 – Fix printf of comment time.
- 3.2 – Don’t allow flag options if no database table.
- 3.1 – Comment list flags; start or end option.
- 3.0 – Indicate country of posting (via IP address) with small flag icon.
- 2.1 – Convert smilies.
- 2.0 – Added option for showing a comment excerpt, thanks to Angelo Milanetti for the idea.
- 1.0 – Initial version.
6 thoughts on “Comments with Avatars”
Comments are closed.