What's WP
Our everything is about WordPress - best choice of WordPress users!
How to Make Phone Number Clickable on Smartphones in WordPress

How to Make Phone Number Clickable on Smartphones in WordPress

In the growing digital world, there are an increasing number of people surfing Internet with their smartphones. Thus, more and more webmasters tend to make their sites mobile-friendly and leave some contact information on the mobile site to facilitate contacts. To make visitors’ life much easier, we suggest you to make phone number clickable so as to put people through with one click.

And now, the clickable phone number has been accepted by a large number of webmasters who are running a website with mobile phone version. If you would like to become one of them, you are required to follow the guide as below, which introduces two valid methods for you, in terms of the use of WordPress plugin and HTML code.

Make Phone Number Clickable with WordPress Plugin

The plugin selected in the following guide is Telephone Number Linker, which is a solid option for making phone number clickable on mobile devices. Note that, it works with a shortcode that is used to add a link to your phone number and the let the click-to-call text show on the mobile site.

Here, we are going to install and activate Telephone Number Linker via WordPress Dashboard. Go to Plugins > Add New and seek this plugin out.

install telephone number linker plugin

Since you have made this plugin into effect, you can get started to take a good use of it by enclosing your phone number with the shortcode [telnumlink]. For example, we would like to add a link to the phone number 12345678. And then, the shortcode should be written as [telnumlink]12345678[/telnumlink]. For the mobile site, the shortcode is converted to the following example automatically.

<a href="tel:12345678">12345678</a>

If you wish to hide the phone number and replace the text to other words, then you need to refer to the following shortcode.

[telnumlink "12345678"]Dial this number now: 12345678[/telnumlink]

In this way, the text shown to visitors is “Dial this number now: 12345678” and then shortcode summed in the mobile version looks like as below.

<a href="tel:12345678">Dial this number now: 12345678</a>

You are allowed to display the clickable phone number on both desktop website and mobile site. Besides, the text enclosed in the shortcode can be modified according to personal needs.

Make Phone Number Clickable with HTML Code

If you prefer to make use of HTML code, then the second method is created for you. Even for beginners, the following lines of code are easy to use. You just need to replace the phone number and domain name to your own.

<a href="tel:12345678?>Click Here!</a>

Note that, the text “Click Here!” can be replaced to any other words as you want, such as “Dial this number”, “Call Us Now!”, “Tap to Call”, and so on. Perhaps, if you plan to make the phone number public, you can enclose your phone number in the code.

To make the click-to-call link vivid, you can replace the text to a premium image. Before everything, you should select an image from the Internet and resize it properly. And then, upload the resized image to your website via WordPress Dashboard > Media > Add New. Copy and paste the image URL to the sample URL included in the following HTML code.

<a href="tel:12345678?><img src=”http://yoursite.com/images /click-to-call.png"></a>

Likewise, you should replace the phone number to your own and make sure that the image matches with your website perfectly. The last step is to click the link and test if you have successfully made your phone number clickable.

Author

Lucy has been a very experienced SEOer, technical writer, web developer, c# developer since 2002. Now she owns a startup in San Francisco, CA, focusing on running a couple of blogs to share knowledge and experience with global readers and deliver exceptional results to global sponsors by leveraging the power of Internet.

Close

Want to Learn More About WordPress?

Get Our Free Themes, Plugins, Support, SEO Tips, and Other Tutorials!

Email *