You’ve poured your heart and soul in to writing fascinating blog posts. You know you have a lot of readership, but nobody except your mom is leaving comments. That’s a bit discouraging right? Entice your readers to leave comments by giving them a picture of a cute kitten in return.
Just prior to the comment form coming in to view, an unobtrusive panel will be displayed with a short message that says: “Your comments make us happy. Leave a comment, get a kitten!”
When a comment is submitted, a picture of an adorable kitten is displayed in a modal window.
This plugin assumes that your comment form is A) built with the ‘comment_form’ WordPress function and B) that your comment form has an id of “commentform” (This is the WordPress default, but your theme developer may have changed the behavior for whatever reason.
This plugin assumes that comment forms only appear on single posts and only loads the code when a single post (or page) is loaded.
I created this plugin for my own amusement and am offering it for you to use as you wish. If you find it useful but would like more features, please do ask.
Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.
What are the known limitations?
As of right now, there are several:
- This plugin assumes that the comment form has an id of “commentform”, which is the WordPress default, but if your theme overrides that then this plugin isn’t going to do anything for you. There are plans to remedy this, but I won’t go to the trouble unless you ask for it.
- There hasn’t been much consideration given to they styling of the modal display. It may not work very well with your theme.
- There is absolutely no customization options nor settings for this plugin. If you need options, please ask and I will do my best to implement that.
Works well, customizable and just damn cute! Love it. =D
Contributors & Developers
“Kittens for Comments” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Tested agaist WordPress 4.4
- updated external assets
- Tested against WordPress 4.3-RC2
- Removed spammy links
- PHP warning fix
code cleaned up, verified compatiblity with WordPress 3.9 and now has its own place in the admin menu.
fancybox replaced with colorbox to comply with GPL compatible licensing.
Now uses jquery fancybox to display the kitten picture. This change goes a long way toward making the image fit all screen sizes.