Yoast Comment Hacks
Yoast Comment Hacks is a simple plugin that means to make your life using the WordPress comments system easier and more fun!
This plugin currently has 5 modules, all of which were previously separate plugins, that we’ll explain briefly here:
- Minimum comment length
- Email commenters
- Comment redirect
- Comment parent edit
- Clean notification emails
Minimum comment length
By default, a comment of even 1 character is long enough to be saved. We think that’s weird. If someone wants to leave a comment, we’d prefer it if they have something real to say. This module allows you to set a minimum length and prevent people from leaving a comment if they’re under that.
Sometimes you want to email a commenter directly, or you want to email everyone who commented on a post. This module adds an email link in the admin, when you hover over a comment, and an email all commenters button in the WP Toolbar on a post page. See what that looks like:
One of our “old time classics”, this module allows you to redirect first time commenters to a thank you page. You can use this page to inform them about other nice things on your site, stuff they should really read, etc. Want to see how that works? Well. Leave a comment on any post here on Yoast.com and you’ll see!
Comment parent edit
When you’re editing a comment in the backend of WordPress, you can’t change the parent comment, which is sometimes annoying when people reply to the wrong person. The plugin adds a simple input field to change that:
Clean notification emails
This module does one “simple” thing: make comment emails look better! See this example:
This was originally actually not a plugin of ours. The plugin which inspired us for this was built and released by Mike Davidson in 2008. Mike is now the head of design at Twitter and obviously has better things to do, so we emailed him a while back asking if it was ok for us to update his old plugin. He gave his OK so we went to work on his old code and brought it into this decennium.
It doesn’t stop here!
We’ll probably add more small comment hacks to this plugin as we go along and find more small ways to make the WordPress comments system easier to use.