WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Smart Recent Comments

Make it so recent comments widget only appears if there are any comments to show.

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.

Requires: 2.9 or higher
Compatible up to: 3.6.1
Last Updated: 2013-6-7
Downloads: 220

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.