So there I was, I removed 41,006 comments using the Bulk Comment Remove WordPress Plugin, but 4 days later after a fun weekend, I open up my WordPress admin panel to see this (not to mention my gmail account was flooded with spam notifications).
That’s almost 45,000 spam comments in 4 days!!! Will the spam comments just never end? It was time to get pro-active. I could do another bulk delete no with the push of a button, but do I want to do this over and over again without ever knowing if I receive a real human comment? How could I prevent future comments from cloggin up my inbox?
The Answer: Captcha By BestWebsoft (WordPress Plugin)
By simply installing and activating this plugin, a captcha form with a basic arithmetic equation is required to answer before submitting a comment, login, or registration.
Voila! No more spam bots harassing you about nonsense.
Personalizing Your Captcha Form
You should see a BWS Plugins Tab on the left menu bar of your admin panel. There you will find the Captcha plugin. You are able to enable CAPTCHA options for:
- Login form
- Registration form
- Reset password form
- Comment form
- Hide CAPTCHA in comments for registered users
- Contact Form (if you already have the bestwebsoft contact form).
You can also add a CAPTCHA form title and an ‘*’ to notify users that it’s required. You can even decide whether to use addition, subtraction and multiplication math problems and decide whether to use numbers or words.
The default comment section should now look like this (though I added the title “Prove you’re not spam!”)
This was great already! However, I wanted to add some flavor to it. It is placed under the Submit Comment button, so some visitors may not realize why the Submit button isn’t working. I wanted to make this required step more distinct with the addition of some simple css rules.
You can easily do so by going to the Plugin Editor in your WordPress panel and selecting the Captcha Plugin. Specifically, you will be editing the captcha/captcha.php file.
It’s pretty easy to navigate through, as the code contains comments describing each section of the file. You’ll eventually find the comment “This function adds captcha to the comment form.” See the line below with p class=”cptch_block”:
By adding a few rules of incline css, we’re able to move the Captcha block up and to the right, next to the submit button. We also changed the color of the background and changed the border radius to make it pop out more.
The resulting code created the following output. It’s not the best, but it will do for now. Now we sit and wait to see how effective this plugin is.