Family Encyclopedia >> Electronics

Prevent spam with the WordPress AntiSpamBot feature

We recently wrote an article on how to encrypt emails in WordPress with Cryptx. And as useful as this plugin is, there's actually another way to do it that doesn't involve any plugins. One of our users pointed us to the WordPress Codex. Although most people don't know it, there is a feature in WordPress called antispambot . This feature essentially allows you to hide your email address by converting each character to an HTML entity.

All you have to do is paste the code like this anywhere you want in your theme:

 

Don't forget to replace "[email protected]" with your own email and no spam bot will be able to find it.

Source:WordPress Codex