I don't like Spam! Plugin
Use the Comment Blocklist feature to protect your contact form.
Use the Comment Blocklist feature to protect your contact form.
Compatibility
This plugin is compatible with Ninja Forms and WPForms.
Features
- Not reinventing the wheel since WordPress already has a Comment Blocklist feature.
- Privacy by Design by using a local blocklist.
- No external API.
Setup
- Login to the dashboard and open Settings > Discussion.
- Scroll down to Disallowed Comment Keys.
- Enter some bad words, phrases or weblinks that keep bugging you. Choose your blocklist wisely!
- Contact forms that contain any of these words cannot be submitted anymore and will show an error message.
- Optional: Modify the error message output in the Theme Customizer.
Fun fact
Spam emails are usually very annoying and affect work – and there is nothing funny about it. But did you know that the term Spam, referring to junk mail, was named after a famous Monty Python sketch?
https://en.wikipedia.org/wiki/Spam_(Monty_Python)
Contribution?
Installation
- Upload the Plugin to the
/wp-content/plugins/
directory. - Activate it through the ‘Plugins’ menu in WordPress.
- Add a list of bad words, phrases or weblinks that should prevent form submissions to the Comment Blocklist.
Screenshots
Changelog
1.2.7
- Tested up to WordPress 6.6
- The Caldera Forms plugin has been closed by the developers – add a deprecated notice to the code
1.2.6
- Code quality
- Documentation
1.2.5
- Prevent PHP error when checking field values
- Code quality
1.2.4
1.2.3
- The option key changed after WordPress 5.5b3. Use option ‘disallowed_keys’ if WordPress version >=5.5 and implement recommended code snippet for backward compatibility.
1.2.2
- Use option ‘blocklist_keys’ if WordPress version >=5.5
1.2.1
- Improve pluginmissing_admin_notice()
1.2
- Compatibility with Caldera Forms
1.1.1
- “Racially neutral” terminology: Rename blacklist to blocklist where possible
1.1
- Compatibility with WPForms
- Minor changes to translation strings
1.0
- Initial Release
- Created a GitHub repository with all development sources