Spammers often use contact forms as a way to spam your email. It’s easy to prevent that using the Contact Form 7 and Akismet plugins – Contact Form 7 is a simple, free plugin for creating forms, and Akismet is already installed in WordPress by default
Here’s how to use Akismet to protect your Contact Form 7 Forms:
1. Activate Akismet from your WordPress plugins menu
2. Install and activate the Contact Form 7 plugin
3. Create a simple contact form.
4. In the form options page, remove the auto-generated code and paste this in its place:
<p>Your Name (required)<br />
[text* your-name akismet:author class:sidebarinput] </p>
<p>Your Email (required)<br />
[email* your-email akismet:author_email class:sidebarinput ] </p>
<p>Subject<br />
[text your-subject akismet:author_subject class:sidebarinput ] </p>
<p>Your Message<br />
[textarea your-message class:sidebarinput] </p>
<p>[submit "Send"]</p> |
5. Save your changes, and you’re done.
Now you can add this new contact form to a page, and Akismet will protect it from spammers.
Questions? Comments? Yeah-buts? Share in the comments section below.
















{ 4 comments… read them below or add one }
Great & useful information! Thanks for sharing. I really like your site
Found you from your comment on Scoutie Girl!
Sarah – Dodeline Design recently posted..Positive Feedback
Thanks, Sarah! Glad you found your way over here. Come back anytime.
Hey Lisa,
Thanks for this info. I use another plugin called “Custom Contact Forms”. Can you help me out with integrating akismet into this plugin? Thanks!
Hi Aasish – I do’t use that plugin so I can’t say whether or not it would integrate with Akismet. It does, however, seem to support CAPTCHA, which would essentially do the same thing – just in a different way.