Email Address Encoder – 봇의 이메일 수집을 막아주는 워드프레스 플러그인

FireShot Capture - WordPress › Support » Email Address Enc_ - https___wordpress.org_support_view_p

https://wordpress.org/plugins/email-address-encoder/

워드프레스 사용시 이메일 입력란에 보여지는 이메일 주소를 로봇으로부터 검색되지 않도록 10진수 혹은 16진수로 encoding해 주는 플러그인 입니다.
A lightweight plugin to protect plain email addresses and mailto links from email-harvesting robots by encoding them into decimal and hexadecimal entities. Has effect on the posts, pages, comments, excerpts and text widgets. No UI, no shortcode, no JavaScript — just simple spam protection.

Email Address Encoder은 다른 설정이 없고 플러그인을 다운 받아 설치하기만 하면 포스트와 페이지, 댓글, 요약글, 택스트 위젯 등에 나타나지는 이메일을

[php]<a href="mailto:ja&#101;&#x79;&#x65;on&#103;&#x40;&#x75; &#x6e;is&#116;&#x2e;&#x61;c.&#107;&#x72;">&#x6a;a&#x65;&#x79; e&#x6f;&#110;g&#x40;&#117;n&#x69;s&#x74;&#x2e;a&#x63;&#46;k&#x72;</a>[/php]

와 같은 코드로 소스에 보여지게 됩니다.

또한 Custom post type 사용 시 플러그인에서 제공하는 eae_encode_str() function을 사용하면 됩니다.

[php]
// eae_encode_str()
echo eae_encode_str(‘name@domain.com’);
// ex
<?php if( $m8 !==”){
echo (‘<a href="mailto:’ .eae_encode_str($m8).’">’.eae_encode_str($m8).'</a>’); } ?>
[/php]

답글쓰기