This plugin allows users to encrypt emails in their content and widgets using a simple shortcode. The encryption uses a native WordPress function antispambot().
To encrypt your email simply use the shortcode:
[encrypt_email email="email@example.com" text="Text displayed"]
or since v1.1.0 you can wrap your email in the shortcode using:
If you want to display specific text use:
[encrypted_email text="Text to be displayed goes here"]firstname.lastname@example.org[/encrypted_email]
Since 2.0 you can use the ‘Encrypt Email’ button on the Visual Editor tab to wrap your selected email.
Since 2.1 a lock icon is displayed beside sucessfully encrypted emails, viewable only for logged in users.
- Popup with text fields to insert email and display text for shortcode.
- Options panel with configuration options, including ability to pre-configure shortcode for one-click insertion of admin email and additional types of encryption including ASCII (SINGLE ENCRYPTION), ASCII (DUAL ENCRYPTION), DECHEX, WORDPRESS and RANDOM
Want to contribute?
- Upload the entire
encrypt-emailfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Select your email in Visual Editor tab.
Click “Encrypt Email” to wrap it in the [encrypted_email] shortcode and be spam free*
*Of course there’s no way for me 100% gaurantee you’ll be spam free but this will certainly make it harder for email harvesters
and spambots than doing nothing!
- Does this plugin work with the newest WordPress version and also older versions?
Yes, this plugin works with WordPress 3 upwards!
- Will this work in my theme’s widget areas?
As long as the theme has enabled shortcodes in your sidebar / widgets then this method will work. However, if the widget is already inserting the link then this shortcode won’t work in such fields. You’ll notice upon saving the widget then it removes everything after the first ” sign.
Contributors & Developers
“Encrypt Email” is open source software. The following people have contributed to this plugin.Contributors
- Formatting code. Removing PHP 5.3+ array syntax from Shortcodes class
- MAJOR BUG FIX: Fixed issue where files in subfolders where not loading
- Added EncryptEmailShortcodes Class to handle creating shortcodes
- Added EncryptEmailAsset Class to handle loading scripts and styles
- Added EncryptEmailQuickTag Class to handle creating quicktag buttons
- Moved encrypt-email.css into assets/css directory
- Added QuickTag button for HTML editor
- Added icon to display beside sucessfully encrypted emails. ( Viewable only for logged in users )
- Added TinyMCE button which will allow you to simply select your email and click “Encrypt Email” to wrap it in the [encrypted_email] shortcode.
- Tested compatibility for WordPress 4.0
- Added shortcode [encrypted_email] which allows you to wrap emails in your content to encrypt them.
- Initial release