BACK TO DIRECTORY

Anti-Spambot

by Robert Peake

5.0
(5 ratings)

Obfuscation of email via the [email]...[/email] shortcode syntax using built-in WordPress Codex functionality.

Alternative variations:

  • [email]user@example.com?subject=foo+bar&body=baz[/email] creates a mailto: link with subject and body pre-populated
  • [email nolink=1]user@example.com[/email] just displays the email without a link wrapping it
  • [email linktext="click here"]user@example.com[/email] displays the text “click here” with a link to the email address

Screenshots

Use the [email]...[/email] tag to wrap your email input

Use the [email]...[/email] tag to wrap your email input

This will display as an email address wrapped in a mailto: hyperlink (i.e. clickable to open a mail client)

This will display as an email address wrapped in a mailto: hyperlink (i.e. clickable to open a mail client)

The source code used to render this involves randomly-encoded characters, making it more difficult for spambots to harvest

The source code used to render this involves randomly-encoded characters, making it more difficult for spambots to harvest

Plugin Details

Active Installs
500
Total Downloads
9,536
Version
1.1.6
Requires WP
3.0.1
Requires PHP
Tested Up To
5.8.15
Added
2014-09-20
Last Updated
2021-07-13 10:10am GMT

Ratings

5
5
4
0
3
0
2
0
1
0