When you set up a new blog there aren’t any comments to start off with–it takes time until you get your first real person to participate in the discussion. When you use the default ‘recent comments’ widget in WordPress you are left with a ‘recent comments’ title in your sidebar and no comments listed under it. This plugin will replace that recent comments widget with a smarter one. The recent comments widget in your sidebar will not show until you start getting comments. Once you get your first comment, the widget will automatically appear so you can show off your latest comments. In all other ways this is exactly the same as the default WordPress recent comments widget. There is no configuration required with this plugin so once you install it you are good to go.
This short screencast demonstrates how to use the Smart Recent Comments plugin. View it here.
- From WP admin > Plugins > Add New
- Search “Smart Recent Comments” under search and hit Enter
- Click “Install Now”
- Click the Activate Plugin link
- Why did you make this plugin?
In the course of developing WordPress websites, I came accross the following problem:
I would first build the site using the ‘Hi, this is a comment.’ default comment from Mr WordPress. When the site is ready to go live, I delete that comment. Now the site looks funny because there is a lonely ‘Recent Comments’ title in the sidebar with nothing under it (see screenshot). I figured I could either a) remove the widget, wait until the site gets its first comment, and then add it again (the problem with this option is that I would probably forget to do that later on) or b) make a plugin so that the recent comments widget only appears if any comments exist.
- Do I have to do anything beyond installing the plugin?
Nope that is all.
Contributors & Developers
“Smart Recent Comments” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Initial version