Directory / plugin

Email Address Obfuscation

v1.2.0 · by Neotrendy

Email Address Obfuscation prevents email harvesting by hiding email address appearing in your pages, while remaining visible to your site visitors.

View on WordPress.org

About this plugin

A lightweight plugin that protects email addresses from email-harvesting bots, by converting email addresses characters to HTML entities. Hide email from Spam Bots using a shortcode [obfuscate_email] and built-in WordPress function antispambot().

Features

  • Obfuscate plain email address
  • Obfuscate href mailto link in HTML anchor element
  • Support for custom CSS class
  • Support for email subject

Usage

Obfuscate plain email address

[obfuscate_email email="[email protected]"]

Create clickable email address

[obfuscate_email email="[email protected]" link=true]

Add CSS class to the HTML anchor element

[obfuscate_email email="[email protected]" link=true class="my-class another-class"]

Obfuscate email address with email subject

[obfuscate_email email='[email protected]?subject=My custom email subject']

Shortcode parameter

  • email required – Email address.
  • link optional – Set true if you want to create clickable email address.
  • class optional – Add space separated list of classes.

Plugin tags