Widget for Simple Recent Comments
Cheesus! I was up till 7 am yesterday, playing around with wordpress. It’s like a drug! I spent several hours learning how to make a widget out of the module Simple Recent Comments written by Raoul. He also kindly offered to link to my site if I put up the widget on my homepage.
So here it is! To use it, you have to install the widget-plugin from wordpress.
Requirements: WordPress 2.x
Here’s how you install it:
- Make sure you have the widget-plugin from wordpress installed.
- Download the file and unzip it.
- Place the widget_simple_recent_comments.php in your wp-content/plugins/widgets directory.
- Go to your administration panel and activate the widget.
- Go to the widget administration panel in Presentation and drag’n'drop the little rascal onto your sidebar. You can also change the settings for the plugin there.
Simple as that
UPDATE 2006-05-03: Raoul made some changes to his code to allow the use of non-standard table names for wordpress. I’ve included his fix in version 0.2.1!
UPDATE 2006-05-04: I got a report that an error is returned if there are no comments. Fixed it in version 0.2.2. Thanks to anshul!
UPDATE 2006-09-06: Paul Hampson reported that if the title contained HTML-elements, the html would be displayed in the hover text of the link to the post in the comment. This is fixed in version 0.2.3. Thanks Paul!