Email Obfuscate Shortcode

Email Obfuscate Shortcode Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 12,076 downloads
Email Obfuscate Shortcode Icon

Try plugin: Email Obfuscate Shortcode

We'll create fresh WordPress site with Email Obfuscate Shortcode installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Email Obfuscate Shortcode

Obfuscate your email address or other sensitive information with a shortcode to prevent spam and automated harvesting of data.

13


1


0


0


2

updated: 8 years ago
since: 11 years ago
author: khromov

Description

Obfuscate your email address or other sensitive information with a shortcode to prevent harvesting of your data.

Version 2.0 includes an improved way of displaying the email without relying on JavaScript document.write();

Usage

Basic usage

[email-obfuscate email=”[email protected]”]

Setting custom link text

[email-obfuscate email=”[email protected]” link_title=”Email Bob!”]

*Setting custom link title attribute”

[email-obfuscate email=”[email protected]” tag_title=”Email Bob!”]

Using every available setting (this example shows their default values)

[email-obfuscate email=”[email protected]” linkable=”1″ link_title=”” use_htmlentities=”1″ use_noscript_fallback=”1″ noscript_message=”Please enable JavaScript to see this field.”]

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:

if(function_exists(‘eos_obfuscate’))
{
echo eos_obfuscate(array(’email’ => $email, ‘link_title’ => ‘Email Bob!’));
}
else
{
echo $email;
}

If the plugin is not enabled, the email address will just pass through and output in cleartext.

Requirements

  • PHP 5.3 or higher
  • mbstring extension

Translations

  • Swedish

TODO

  • Better noscript_fallback. Enable people without JavaScript to see the email address using technique to inject empty spans via css.
    (Example: [email protected]
    Reference: https://wordpress.org/extend/plugins/obfuscate-email/other_notes/