Plugin Directory

Changeset 3260323


Ignore:
Timestamp:
03/23/2025 04:02:18 PM (13 months ago)
Author:
successmedia
Message:

Inital for WP Repo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spamex/trunk/readme.txt

    r3258751 r3260323  
    55Requires at least: 4.7
    66Tested up to: 6.7
    7 Requires PHP: 5.4
     7Requires PHP: 5.6
    88Stable tag: 1.6.3
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 A simple WordPress plugin that provides a shortcode to obfuscate email addresses and phone numbers to protect them from spam bots.
     12Protect email addresses and phone numbers from spam bots with a simple shortcode.
    1313
    1414== Description ==
    15 Provides the shortcode [spamex email="name@domain.tld" key="secret"] or [spamex phone="+1!123!456"].
    1615
    17 Email: Inserts the key before the TLD.
    18 Phone: The section between the second ! and the end is hidden and replaced with random digits.
     16**Spamex** provides a shortcode to obfuscate email addresses and phone numbers in HTML. This protects them from scraping bots while staying readable for users.
     17
     18### Examples:
     19
     20- `[spamex email="name@domain.tld" key="secret"]`
     21- `[spamex phone="+1!123!456"]`
     22
     23### How it works:
     24
     25**Email:**
     26- The `key` is injected between domain and TLD.
     27- Example: `name@domain<b>.secret</b>.tld` (key is hidden via CSS)
     28
     29**Phone:**
     30- Format must be: `prefix!middle!suffix`
     31- The `middle` part is replaced by random digits.
     32- Example: `+49!123!456` → `+49123<b>XYZ</b>456`
     33
     34In both cases, the `<b>` part is hidden using CSS and only fools bots.
    1935
    2036== Installation ==
    21 Upload the spamex plugin folder to the /wp-content/plugins/ directory.
    22 Activate the plugin via the Plugins menu in WordPress.
     37
     381. Upload the `spamex` folder to `/wp-content/plugins/`
     392. Activate the plugin via WordPress > Plugins
    2340
    2441== Usage ==
    25 Email (default):
    26 [spamex email="name@domain.tld" key="whatyoulike"] => HTML: name@domain.<b>whatyoulike</b>.tld
    27 Frontend: name@domain.tld
    28 Phone (formatted with ! as separator):
    2942
    30 [spamex phone="+341588!494!116"] => HTML: +341588494<b>123</b>116
    31 [spamex phone="0123!456!7890"] => HTML: 0123456<b>472</b>7890
    32 Frontend: +341588494116 or 01234567890
     43### Email obfuscation:
     44
     45[spamex email="test@example.com" key="protect"]
     46<span class="email">test@example<b>.protect</b>.com</span>
     47
     48[spamex phone="+49!123!456"]
     49<span class="phone">+49123<b>984</b>456</span>
     50
     51Use exactly two ! to split number into three parts.
    3352
    3453== Changelog ==
    3554
    3655= 1.6.3 =
    37 Public Release
     56Public release
    3857
    3958= 1.6.2 =
    40 FIX Shorten Version number to 6.7 instead of 6.7.2
    41 FIX Prefix generate_random_number with spamex
    42 FIX PHP 8.x return value of explode can be false
    43 FIX PHP 8.1 wp_get_custom_css() returns null
     59FIX: Shorten version number to 6.7
     60FIX: Prefix generate_random_number with spamex
     61FIX: Handle explode() false in PHP 8.x
     62FIX: wp_get_custom_css() null fix for PHP 8.1
    4463
    4564= 1.0 =
    46 Initial release.
     65Initial release
     66
Note: See TracChangeset for help on using the changeset viewer.