by Julien MA Jacob on WordPress.org
Protect email address in your website against spam with shortcode like this : [encode email="hello@mail.fr"]My text to encode[/encode]
WordPress plugin : Encode Shortcode
A WordPress plugin to protect the email address in your website against bots or spiders that index or harvest email addresses for sending spam. It uses a substitution cipher with a different key for every page load.
How to use in the WordPress editor
[encode email="email@mail.fr"]
Or :
[encode email="email@mail.fr"]Text in the link[/encode]
The result in the HTML code is like :
[Encoded]
The result for the user is like :
Text in the link
How to use in PHP
Classic method :
Ressourses