开发者 | ironikus |
---|---|
更新时间 | 2020年1月31日 19:08 |
PHP版本: | 5.3.2 及以上 |
WordPress版本: | 5.3.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[wpml_mailto]
wpml_mailto()
and wpml_filter()
The plugin combines the best email protection methods (CSS, PHP and JavaScript techniques).Plugins
in the Admin menuAdd new
WP Mailto Links
and click 'Install Now' or click on the upload
link to upload wp-mailto-links.zip
Activate plugin
The plugin combines the best email protection methods (CSS and JavaScript techniques). All of them are explained in this article. A webpage contains code on the backside. In the code all email addresses will be obfuscated, to hide them from spambots. Only when people see the page and click on the mailto link, the encoded email address will be translated to a normal email address.
Off course by activating this plugin :) on your site. But even still it's not recommended to use email addresses directly in your posts or in your theme templates.
It would be better to use the shortcode [wpml_mailto]
and template tag wpml_mailto()
, because when the plugin isn't active anymore, the email addresses would not be shown on your site.
You can exclude pages within our settings page. Simply activate the button for advanced settings and you will see an input field. In there, simply separate the page/post ids with a comma and save. Here is an example: 12,455,19
By default shortcodes are not applied to (text) widgets. To support that you can add it to the text widget filter (for more). If you are not a coder, then just activate this plugin, which does the same thing. Do you have a problem or found a bug, please report it.
language
to type
<abbr>
tag