Variability
A simple WordPRess shortcode creator for adding variables to your content.
★ 0stars
6release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/prykon/variability/releases/download/v1.0.0/variability.zipReadme
Variability
A lightweight WordPress plugin that lets admins create shortcodes for custom variables and reuse them anywhere in content.
Features
- Create named variables and expose them as shortcodes
- Use shortcodes in posts, pages, widgets, or any shortcode-aware field
- Manage variables from Tools → Variability in the WordPress admin
- Supports all Spanish locale variants (
es_ES,es_MX,es_AR, etc.)
Requirements
- WordPress 5.0 or higher
- Admin privileges (
manage_optionscapability)
Installation
- Copy the
variabilityfolder to/wp-content/plugins/ - Go to Plugins → Installed Plugins and activate Variability
- Navigate to Tools → Variability
Usage
- Enter a shortcode name (lowercase letters, numbers, and underscores only) and a value
- Click Add Variable
- Paste the shortcode anywhere in your content:
Today's discount is [sitewide_discount] off all products.
The shortcode will be replaced with its stored value when the page is rendered.
Translations
The plugin ships with an English source and a Spanish translation covering all es_* locales. To add a new language, create a variability-{locale}.mo file in the languages/ folder — the plugin will pick it up automatically.
| Locale | Status |
|---|---|
en (default) |
✓ |
es_* |
✓ |
File Structure
variability/
├── icon.png
├── variability.php
├── README.md
└── languages/
├── variability-es_ES.po
└── variability-es_ES.mo
License
GPLv2 or later — same as WordPress.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.0 | May 11, 2026 | variability.zip | 6 |