
內容簡介
這個外掛可以安全地保護和編碼電子郵件地址,以防止垃圾郵件機器人、亂發郵件和其他機器人。此外,它很容易使用,不需要進行任何配置即可使用。
功能
全面保護電子郵件
即時結果(不需配置任何設置)
保護 mailto 鏈接、純文本郵件、郵件輸入欄、RSS 源等等
自動選擇最佳保護技術(對於每個電子郵件,我們的外掛會自動選擇最佳保護技術)
排除某些文章和頁面的保護
自動將純文本電子郵件轉換為 mailto 鏈接
自動將純文本電子郵件轉換為 png 圖像
支持 rot13 編碼、轉義編碼、CSS 方向、實體編碼等等
可以手動關閉 CSS 方向用於向後兼容
支援 shortcode:`[wpml_mailto]`
支援模板標記:`wpml_mailto()` 和 `wpml_filter()`
此外,這個外掛還結合了最佳的電子郵件保護方法(CSS、PHP 和 JavaScript 技術)。
免費的網站檢查
我們提供了一個免費的工具,用於測試您的網站是否包含未受保護的電子郵件。您可以使用我們的網站檢查器,只需點擊此處。
易於使用
當您啟用此外掛後,所有選項都已經設置好,以保護您的電子郵件和 mailto 鏈接,無需進行任何配置,非常容易使用。
文檔
此外掛可立即保護您的電子郵件地址,所有設置都已默認設置為使用最佳方法自動保護您的電子郵件地址。
如果您想手動創建受保護的 mailto 鏈接,只需在文章中使用 shortcode(`[wpml_mailto]`),或在您的佈景主題文件中使用模板標記(`wpml_mailto()` 或 `wpml_filter()`)。
Shortcode `[wpml_mailto email=”…”]…[/wpml_mailto]`
創建一個受保護的 mailto 鏈接:
[wpml_mailto email=”[email protected]”]My Email[/wpml_mailto]
也可以向 mailto 鏈接添加屬性,例如 target:
[wpml_mailto email=”[email protected]” target=”_blank”]My Email[/wpml_mailto]
Shortcode `[wpmt_protect]…[/wpmt_protect]`
使用我們的外掛保護未編碼的內容(例如一些 ajax 載入的值):
[wpmt_protect]YOUR CONTENT YOU WANT TO CHECK FOR EMAILS[/wpmt_protect]
也可以使用 `protect_using` 自定義編碼類型。可能的值包括:
[wpmt_protect protect_using=”…”]YOUR CONTENT YOU WANT TO CHECK FOR EMAILS[/wpmt_protect]
模板標記 `wpml_mailto( $email [, $display] [, $attrs] )`
在您的模板中創建一個受保護的 mailto 鏈接,如:
模板標記 `wpml_filter( $content )`
根據管理員中的設置,過濾給定的內容以保護 mailto 鏈接、shortcode 和純文本郵件:
外掛標籤
開發者團隊
② 後台搜尋「WP Mailto Links – Protect Email Addresses」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Protect and encode email addresses safely from spambots, spamming and other robots. Easy to use out-of-the-box without any configuration.
Features
Full page protection for emails
Instant results (No confiruation needed)
Protects mailto links, plain emails, email input fields, RSS feeds and much more
Autmoatic protection technique detection (Our plugin chooses automatically the best protection technique for each email)
Exclude posts and pages from protection
Automatically convert plain emails to mailto-links
Automatically convert plain emails to png images
Supports rot13 encoing, escape encoding, CSS directions, entity encoding and much more
Deactivate CSS directions manually for backwards compatibility
Shortcode support: [wpml_mailto]
Template tag support: wpml_mailto() and wpml_filter()
The plugin combines the best email protection methods (CSS, PHP and JavaScript techniques).
Free Website Check
We offer you a free tool to test if your website contains unprotected emails. You can use our website checker by clicking here
Easy to use
The plugin works out-of-the-box to protect your email addresses. After activating the plugin, all options are already set for protecting your emails and mailto links.
Documentation
The plugin works out-of-the-box to protect your email addresses. All settings are default set to protect your email addresses automatically with the best method available.
If you want to manually create protected mailto links, just use the shortcode ([wpml_mailto]) within your posts or use the template tags (wpml_mailto() or wpml_filter()) in your theme files.
Shortcode `[wpml_mailto email=”…”]…[/wpml_mailto]`
Create a protected mailto link in your posts:
[wpml_mailto email=”[email protected]”]My Email[/wpml_mailto]
It’s also possible to add attributes to the mailto link, like a target:
[wpml_mailto email=”[email protected]” target=”_blank”]My Email[/wpml_mailto]
Shortcode `[wpmt_protect]…[/wpmt_protect]`
Protect content using our plugin that is not encodedby default (E.g. some ajax loaded values):
[wpmt_protect]YOUR CONTENT YOU WANT TO CHECK FOR EMAILS[/wpmt_protect]
It’s also possible to customize the encoding type using “protect_using”. Possible values: char_encode, strong_method, without_javascript, with_javascript:
[wpmt_protect protect_using=”…”]YOUR CONTENT YOU WANT TO CHECK FOR EMAILS[/wpmt_protect]
Template tag `wpml_mailto( $email [, $display] [, $attrs] )`
Create a protected mailto link in your template like:
Template tag `wpml_filter( $content )`
Filter given content to protect mailto links, shortcodes and plain emails (according to the settings in admin):
