Title: New Plugin: Shortcode Variables
Last modified: August 30, 2016

---

# New Plugin: Shortcode Variables

 *  [YeKen](https://wordpress.org/support/users/aliakro/)
 * (@aliakro)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/new-plugin-shortcode-variables/)
 * Hi folks,
 * I recently wrote a small plugin to use on my site. Basically I was referring 
   to the same block of text, price etc across my site. However, every now and then
   I would need to change that text. This meant searching through my pages and sidebars…
   changing and saving.
 * So I wrote a small plugin called “Shortcode Variables”. In essence, it allows
   me to specify a key and a block of text / HTML. For example, say I wanted to 
   display the same price throughout my site, I could set the following shortcode
   variable up:
 * example-price = £23.99
 * This would give me a Shortcode like:
 * [shortcode-variables slug=”example-price “]
 * I can place this shortcode where I wish and it will be replaced by £23.99. The
   plugin supports HTML, rich text, etc.
 * Let me know what you think! Be nice! lol
 * [https://wordpress.org/plugins/shortcode-variables/](https://wordpress.org/plugins/shortcode-variables/)

The topic ‘New Plugin: Shortcode Variables’ is closed to new replies.

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [variables](https://wordpress.org/support/topic-tag/variables/)

 * 0 replies
 * 1 participant
 * Last reply from: [YeKen](https://wordpress.org/support/users/aliakro/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/new-plugin-shortcode-variables/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
