Home Plugins spamex
Spamex logo

Spamex

by SuccessMedia on WordPress.org

Protect email addresses and phone numbers from spam bots with a simple shortcode.

(0)

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.secret.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 +49123XYZ456

In both cases, the 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.

Active installations0+
Weekly downloads
11-21.43%
Version1.6.3
Last updated4/8/2025
WordPress version4.7
Tested up to6.8.1
PHP version5.6
Tags
antispamemailphoneshortcodespam