Obfuscate your email address or other sensitive information with a shortcode to prevent harvesting of your data.
Setting custom link text
[email-obfuscate email=”firstname.lastname@example.org” link_title=”Email Bob!”]
*Setting custom link title attribute”
[email-obfuscate email=”email@example.com” tag_title=”Email Bob!”]
Using every available setting (this example shows their default values)
Usage from a template or plugin
Below is a snippet that you can use in any template or plugin to apply the same obfuscation to an email as using the shortcode:
echo eos_obfuscate(array(’email’ => $email, ‘link_title’ => ‘Email Bob!’));
If the plugin is not enabled, the email address will just pass through and output in cleartext.
- PHP 5.3 or higher
- mbstring extension
- Upload the
- Activate the plugin (Email Obfuscate Shortcode) through the ‘Plugins’ menu in WordPress
- Use the shortcode in any post, page or custom post type.
- How does this plugin prevent my email address or other personal information from being harvested?
of email harvesting techniques.
- What browsers is this plugin compatible with?
Internet Explorer 6 and up, any Firefox, Chrome, Safari or Opera version.
- How do you obfuscate information other than email addresses?
To obfuscate phone numbers, names and other sensitive information, pass the parameter linkable=”0″. This will print anything you
put in the “email” field as text onto your page, fully protected.
You can customize this message by passing the noscript_message=”” parameter to the shortcode.
- Is the solution bulletproof?
One word, easy to use.
Say goodbye to spammer bot.
Nice work, Khromov 😀
I thought that I should rate and review this plugin for the following reasons
- It works well and is very, very, very simple to use
- It is free – thank you very much
- I wish to redress the balance of the 2 people who gave it a 1 star review.
I was quite annoyed when I saw what they wrote about a free, easy to use plugin. If you can’t use something this simple then maybe you should reconsider doing anything related to WordPress.
The shortcode works in plain html markup as well. It will also send subject, body etc in the email variable if you use them. Thanx for the plugin
Contributors & Developers
“Email Obfuscate Shortcode” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Improved way of displaying emails, using getElementByID and innerHTML(). This plugin is no longer dependent on document.write and can now be used when data is displayed via AJAX. Compatibility with major browsers should be unaffected.
- Fix update issue
- Added support for a tag title attribute via the tag_title=”title” shortcode attribute.
- Fixed issue with additional space being added after email address. (Thanks to omdaddi)
- Fixed compatibility issue with PHP 5.2 (5.3 is still recommended)
- Fixed a bug that made use_htmlentities setting not work.
- Minor documentation fixes
- Changed Plugin URI to the plugin page at WordPress.org
- Initial release