Phone Number Shortcode

Description

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

Screenshots

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

Installation

  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.

FAQ

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.

Reviews

Read all 1 review

Contributors & Developers

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

Contributors

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

Changelog

1.5

Fixed bug shortcodes not to display.

1.4

Ability to create multiple shortcodes added.

1.3

Input validation has been added.

1.2

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

1.1

This update adds localisation to the plugin.

1.0

  • Plugin release