Obfuscation of email via the [email]...[/email] shortcode syntax using built-in Wordpress Codex functionality.
Obfuscation of email via the [email]...[/email]
shortcode syntax using built-in WordPress Codex functionality.
Alternative variations:
[email][email protected]?subject=foo+bar&body=baz[/email]
creates a mailto: link with subject and body pre-populated[email nolink=1][email protected][/email]
just displays the email without a link wrapping it[email linktext="click here"][email protected][/email]
displays the text “click here” with a link to the email addressInstall via “Add Plugin”.
This plugin converts email addresses within the [email]...[/email]
shortcodes using the built-in WordPress Codex antispambot() function. The function converts email address characters to HTML entities. It converts a random selection of characters each time, making it more difficult for spam-bots to “harvest” the email address programmatically.
The only foolproof way to ensure email addresses do not get harvested from a web page is to not include them on the page in any form. However, the method created by the WordPress developers that we employ here should provide reasonable protection against all but the most concerted automatic-harvesting efforts.