Linux 软件免费装

Link/Obfuscate Telephone Numbers

开发者 grandadevans
更新时间 2013年11月7日 15:39
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 3.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

mobile link smartphone obfuscate telephone cell tel: smart-phone

下载

1.0 1.1 1.2

详情介绍:

This plugin will convert telephone numbers to callable links if the user is on a smartphone. If the user is not on a smartphone the telephone number is displayed in plain text. The text/link telephone number is then obfuscated to reduce the risk of spambots intercepting your number. It is also now possible to use the shortcode0 [link_obfscate_telephone tel="???"] and [link_and_obfuscate_telephone_number tel="???"] The following options are avaiable: This plugin is based upon and a re-write of the plugin at http://wordpress.org/extend/plugins/email-obfuscate-shortcode/

安装:

To use this plugin you can:
  1. Upload the plugin folder to your "wp-content/plugins/" folder
  2. Search from within the plugin screen in your admin pages for "Link/Obfuscate Telephone Numbers" You should then activate the plugin from within the plugin admin screen To use the plugin place the shortcode [link_and_obfuscate_telephone_number] or [link_obfuscte_teleophone] where you want your code to appear. Inside the shortcode should be a minimum of a "tel" tag containing the telephone number you wish to act upon. Other options available are:
  3. tel --> The number to you want to action
  4. link --> enter link="0" to disable links
  5. debug --> debug="1" will output debugging information
  6. link_text --> Will change the link text eg link="Call Me"
  7. use_noscript_fallback --> Turn off the message
  8. noscript_message --> customise the noscript message
Simple example [link_and_obfuscate_telephone_number tel="1234567890"] Advanced example with all options set. Although they are set on multiple lines here for readbility in your pasge/post they will need to be on a single line [link_and_obfuscate_telephone_number tel="1234567890" link="1" debug="0" link_text="Call Me" use_noscript_fallback="1" noscript_message="JS not enabled"]

屏幕截图:

  • This shows how the plugin affects numbers on a non-mobile device.
  • this shows how the plugin affects numbers on a mobile device.
  • This shows the result of clicking on either of the links in the previous mobile screen.
  • This shows the resulting HTML from both the non-mobile device.

升级注意事项:

1.2
  • Much better debugging facilities
1.1
  • You can now use both shortcodes link_and_obfuscte_telephone_number and link_obfuscate_telephone
1.0
  • Code now fully up to date
0.2
  • Any version prior to this are not listed in the Wordpress Plugin Directory

常见问题:

Why should I obfuscate telephone numbers?

Telephone numbers are as succeptable to spambots as emails are and it makes perfect sense to obfuscate telephone numbers if you are obfuscating email addresses

Why create links on smartphones?

Modern Smartphones are capable of recognising tel: links that can take the referenced telephone number and place a call to it, therefore saving you the trouble of writing a telephone number down on one screen to switch to the dialler and enter it in there.

更新日志:

1.1.1 1.1 1.0 0.2