{"id":22354,"date":"2013-03-13T00:12:35","date_gmt":"2013-03-13T00:12:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/tel-link-obfuscate\/"},"modified":"2013-11-07T07:39:52","modified_gmt":"2013-11-07T07:39:52","slug":"tel-link-obfuscate","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/tel-link-obfuscate\/","author":11821346,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.1","stable_tag":"trunk","tested":"3.7.41","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Link\/Obfuscate Telephone Numbers","header_author":"Grandadevans","header_description":"","assets_banners_color":"","last_updated":"2013-11-07 07:39:52","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/grandadevans.com\/resources\/wordpress-plugin-to-link-and-obfuscate-telephone-numbers\/","header_plugin_uri":"http:\/\/grandadevans.com\/resources\/wordpress-plugin-to-link-and-obfuscate-telephone-numbers\/","header_author_uri":"http:\/\/grandadevans.com","rating":4.8,"author_block_rating":0,"active_installs":100,"downloads":4084,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.4.1":"<ul>\n<li>Added mobile_css_class and non_mobile_css_class to the previous entry<\/li>\n<\/ul>","1.4":"<ul>\n<li>Added class property that wraps the output to allow styling of links or text<\/li>\n<\/ul>","1.3":"<ul>\n<li>Tested on Wordpress version 3.7<\/li>\n<li>Added non_mobile_text attribute to display a custom message or a custom format to non smartphone users<\/li>\n<\/ul>","1.2":"<ul>\n<li>Much better debugging facilities<\/li>\n<\/ul>","1.1":"<ul>\n<li>You can now use both shortcodes link_and_obfuscte_telephone_number and link_obfuscate_telephone<\/li>\n<\/ul>","1.0":"<ul>\n<li>Code now fully up to date<\/li>\n<\/ul>","0.2":"<ul>\n<li>Any version prior to this are not listed in the Wordpress Plugin Directory<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"681333","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"681333","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"681333","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"681333","resolution":"4","location":"assets"}},"screenshots":{"1":"This shows how the plugin affects numbers on a non-mobile device in the plaintext format (custom non_mobile_text screenshot to follow).","2":"this shows how the plugin affects numbers on a mobile device.","3":"This shows the result of clicking on either of the links in the previous mobile screen.","4":"This shows the resulting HTML from both the non-mobile device."}},"plugin_section":[],"plugin_tags":[34086,537,841,11181,15059],"plugin_category":[],"plugin_contributors":[84369],"plugin_business_model":[],"class_list":["post-22354","plugin","type-plugin","status-closed","hentry","plugin_tags-tel","plugin_tags-link","plugin_tags-mobile","plugin_tags-obfuscate","plugin_tags-telephone","plugin_contributors-grandadevans","plugin_committers-grandadevans"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/tel-link-obfuscate.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/tel-link-obfuscate\/assets\/screenshot-1.png?rev=681333","caption":"This shows how the plugin affects numbers on a non-mobile device in the plaintext format (custom non_mobile_text screenshot to follow)."},{"src":"https:\/\/ps.w.org\/tel-link-obfuscate\/assets\/screenshot-2.png?rev=681333","caption":"this shows how the plugin affects numbers on a mobile device."},{"src":"https:\/\/ps.w.org\/tel-link-obfuscate\/assets\/screenshot-3.png?rev=681333","caption":"This shows the result of clicking on either of the links in the previous mobile screen."},{"src":"https:\/\/ps.w.org\/tel-link-obfuscate\/assets\/screenshot-4.png?rev=681333","caption":"This shows the resulting HTML from both the non-mobile device."}],"raw_content":"<!--section=description-->\n<p>This plugin will convert telephone numbers to callable links if the user is on\na smartphone. If the user is not on a smartphone you can either give them custom text\/format or leave the telephone number in plain text. The text\/link telephone number is then obfuscated to\nreduce the risk of spambots intercepting your number.<\/p>\n\n<p>It is also now possible to use the shortcode\n    [link_obfscate_telephone tel=\"???\"]\nand\n    [link_and_obfuscate_telephone_number tel=\"???\"]<\/p>\n\n<p>The following options are avaiable:<\/p>\n\n<ul>\n<li>Add custom link text such as \"Call Me!\"<\/li>\n<li>Add custom text for non-smartphone user (eg. different format)<\/li>\n<li>Add a custom general CSS class to the output (eg class=\"telephone number\")<\/li>\n<li>Add a class for mobile only devices (eg class=\"mobile_device\")<\/li>\n<li>Add a class for no mobile devices (eg class=\"non_mobile_devices\")<\/li>\n<li>Turn the link feature off so that just plain telephone numbers are displayed<\/li>\n<li>Turn the HTML_entities option on or off<\/li>\n<li>Turn noscript on or off<\/li>\n<li>Add a custom noscript message<\/li>\n<\/ul>\n\n<p>This plugin is based upon and a re-write of the plugin at http:\/\/wordpress.org\/extend\/plugins\/email-obfuscate-shortcode\/<\/p>\n\n<!--section=installation-->\n<p>To use this plugin you can:\n1.  Upload the plugin folder to your \"wp-content\/plugins\/\" folder\n1.  Search from within the plugin screen in your admin pages for \"Link\/Obfuscate Telephone Numbers\"\nYou should then activate the plugin from within the plugin admin screen<\/p>\n\n<p>To use the plugin place the shortcode [link_and_obfuscate_telephone_number] or\n[link_obfuscte_teleophone] where you want your code to appear. Inside the shortcode should be a minimum\nof a \"tel\" tag containing the telephone number you wish to act upon. Other options available are:<\/p>\n\n<ul>\n<li>tel --&gt; The number to you want to action<\/li>\n<li>link --&gt; enter link=\"0\" to disable links<\/li>\n<li>debug --&gt; debug=\"1\" will output debugging information<\/li>\n<li>link_text --&gt; Will change the link text eg link=\"Call Me\"<\/li>\n<li>non_mobile_text --&gt; display different text\/a different format to the user eg non_mobile_text= \"+44 (0) 1226 123456\"<\/li>\n<li>css_class --&gt; Surround the output in a custom class<\/li>\n<li>mobile_css_class --&gt; Apply a custom class to mobile only devices<\/li>\n<li>non_mobile_css_class --&gt; Apply a custom class to to non mobile devices<\/li>\n<li>use_noscript_fallback --&gt; Turn off the  message<\/li>\n<li>noscript_message --&gt; customise the noscript message<\/li>\n<\/ul>\n\n<p>Simple example<\/p>\n\n<pre><code>[link_and_obfuscate_telephone_number tel=\"1234567890\"]\n<\/code><\/pre>\n\n<p>As an example you could use:<\/p>\n\n<pre><code>[link_and_obfuscate_telephone_number\n    tel=\"1234567890\"\n    link=\"1\"\n    debug=\"0\"\n    link_text=\"Call Me\"\n    non_mobile_text=\"+44 (0) 01226 1234567\"\n    css_class=\"my_phone_number\"\n    mobile_css_class=\"mobile_device\"\n    non_mobile_css_class=\"non_mobile_device\"\n    use_noscript_fallback=\"1\"\n    noscript_message=\"JS not enabled\"]\n<\/code><\/pre>\n\n<p>You may or may not be able to write the shortcode in the multiline format depending on your system configuration.\nIf you are unable to then simply list the shortcode attributes on a single line<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Why should I obfuscate telephone numbers?<\/dt>\n<dd><p>Telephone numbers are as succeptable to spambots as emails are and it makes\nperfect sense to obfuscate telephone numbers if you are obfuscating email\naddresses<\/p><\/dd>\n<dt>Why create links on smartphones?<\/dt>\n<dd><p>Modern Smartphones are capable of recognising tel: links that can take the\nreferenced telephone number and place a call to it, therefore saving you the\ntrouble of writing a telephone number down on one screen to switch to the\ndialler and enter it in there.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Added mobile_css_class and non_mobile_css_class to the previous entry<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added class property that wraps the output to allow styling of links or text<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Tested on Wordpress version 3.7<\/li>\n<li>Added non_mobile_text attribute to display a custom message or a custom format to non smartphone users<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Much better debugging facilities<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Copied readme description over to php file<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Upgraded code to enable the use of a more verbose or less verbose shortcode<\/li>\n<li>Added example to short description so that it's obvious how to use it from the plugin page on readme page<\/li>\n<li>Made clear in readme that it cannot be a multi-line code<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Plugin accepted to Wordpress Plugin Directory so this is verion 1.0<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Upgraded to deccent folder structure and set to upgradable format<\/li>\n<li>Re-wrote readme file<\/li>\n<\/ul>","raw_excerpt":"A shortcode to link to telephone numbers if the user is on a smartphone or leave plain text if not and then obfuscate the text\/link.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22354"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/grandadevans"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22354"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22354"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22354"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22354"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22354"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}