Email Address Obfuscation

설명

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

Usage

Obfuscate plain email address

[obfuscate_email email="your@email.com"]

Create clickable email address

[obfuscate_email email="your@email.com" link=true]

Add CSS class to the HTML anchor element

[obfuscate_email email="your@email.com" link=true class="my-class another-class"]

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.

스크린샷

  • Using shortcode in Gutenberg Block Editor.
  • Displaying email on frontend.
  • Obfuscated email address in source code.

FAQ

How does it work?

The plugin converts email addresses characters from email parameter of [obfuscate_email] shortcode to HTML entities. Email addresses on your web page will be obfuscated (hidden) from bots, while keeping them visible to humans. In fact, there are no visible changes to your website for visitors.

How can check if the plugin works?

View source code of your page (press Ctrl + U in web browser) and look for the place, where an email address is placed. You should see decimal entities instead of email address.

** Please note ** Inspector in developer tools automatically decode decimal and hexadecimal entities. You need to use View source code.

후기

모든 1 평가 읽기

기여자 & 개발자

“Email Address Obfuscation”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Email Address Obfuscation”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.1

  • Tested compatibility with WordPress 6.2.

1.0.0

  • Tested compatibility with WordPress 6.1.1.
  • Added translation folder and POT file.

0.9.2

  • Tested compatibility with WordPress 6.0.3.

0.9.1

  • Shortcode changed from email_obfuscate to obfuscate_email.

0.9.0

  • Release Candidate.