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].


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


  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.


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.


Read all 1 review

Contributors & Developers

“Phone Number Shortcode” is open source software. The following people have contributed to this plugin.


“Phone Number Shortcode” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Phone Number Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



Fixed bug shortcodes not to display.


Ability to create multiple shortcodes added.


Input validation has been added.


This update simply adds a discreet banner to the top of the page requesting a review from you.


This update adds localisation to the plugin.


  • Plugin release