Spamex

plugin banner

A simple WordPress plugin that provides a shortcode to obfuscate email addresses and phone numbers to protect them from spam bots.

Author:SuccessMedia (profile at wordpress.org)
WordPress version required:4.7
WordPress version tested:6.8
Plugin version:1.6.3
Added to WordPress repository:19-03-2025
Last updated:08-04-2025
Rating, %:0
Rated by:0
Plugin URI:https://successmedia.online/wordpress-plugins...
Total downloads:409
plugin download
Click to start download

Spamex provides a shortcode to obfuscate email addresses and phone numbers in HTML. This protects them from scraping bots while staying readable for users.

Examples:

  • [spamex email="name@domain.tld" key="secret"]
  • [spamex phone="+1!123!456"]

How it works:

Email:
– The key is injected between domain and TLD.
– Example: name@domain<b>.secret</b>.tld (key is hidden via CSS)

Phone:
– Format must be: prefix!middle!suffix
– The middle part is replaced by random digits.
– Example: +49!123!456 +49123<b>XYZ</b>456

In both cases, the <b> part is hidden using CSS and only fools bots.

Usage

Email obfuscation:

[spamex email=”test@example.com” key=”protect”]
test@example.protect.com

[spamex phone=”+49!123!456″]
+49123984456

Use exactly two ! to split number into three parts.


ChangeLog