Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Phone Number Shortcode

This plugin allows you to display your telephone number around the website via the [phone_number] shortcode.

Hardcoding a telephone number in various locations of your website can often be a bad idea. If the telephone number changes, you'll have to manually change it throughout every location of your website. This plugin allows you to store a single phone number on the database and retrieve it easily using the shortcode [phone_number].

Author Liam McArthur
Profile
Contributors LiamMcArthur
Tags phone number shortcode, phone shortcode, shortcode, telephone number shortcode, telephone shortcode
  1. phone-number-shortcode screenshot 1

    This screenshot shows you how to access the phone number menu and save a new telephone number.

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to Phone Number on the left menu to access the phone number page.

1.0

  • Plugin release

1.1

  • Localisation update

1.2

  • Review request information box added

How do I use the shortcode in the WordPress admin?

Use [phone_number] to input the telephone number you've stored.

How do I use the shortcode in PHP files?

Use <?php echo do_shortcode('[phone_number]');?> to enter the telephone number into a PHP file.

Share  
Download
Version 1.2

Requires WordPress version: 4.6 or higher

Compatible up to: 4.7.2

Last Updated 11 Feb 2017

Date Added: 07 Feb 2017

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
64 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0