We'll create fresh WordPress site with WP Mailto Links – Protect Email Addresses installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Protect and encode email addresses safely from spambots, spamming and other robots. Easy to use out-of-the-box without any configuration.
[wpml_mailto]
wpml_mailto()
and wpml_filter()
The plugin combines the best email protection methods (CSS, PHP and JavaScript techniques).
We offer you a free tool to test if your website contains unprotected emails. You can use our website checker by clicking here
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.
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.
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]
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]
Create a protected mailto link in your template like:
Filter given content to protect mailto links, shortcodes and plain emails (according to the settings in admin):