Description
Edit a value once – it changes everywhere on the site.
- One admin page: key, description, value. Rows can be reordered by drag and drop.
- Shortcode
[wmvar type="phone"]works in posts, pages, widgets and page builders. - PHP function
wmvar( 'phone' )for themes. - WPML: a column for every active language. An empty translation falls back to the default value.
lang="en"forces a language. - Elementor: dynamic tags “Variable” (text and link, with optional
tel:ormailto:). - If your theme already registers a
[wm_var]shortcode, the plugin takes it over and imports its values on first run.
Source code and issues: GitHub.
Installation
- Upload the
webmister-variablesfolder to/wp-content/plugins/or install it from the Plugins screen. - Activate the plugin.
- Open Variables in the admin menu and add your variables.
FAQ
-
Is HTML allowed in values?
-
No. Values are plain text and are escaped on output.
-
What happens on uninstall?
-
All stored variables are deleted.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Webmister Variables” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Webmister Variables” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.0
- Renamed to Webmister Variables: shortcode
[wmvar], functionwmvar(). Stored data is moved automatically.
1.1.0
- Description column, WPML languages, Elementor dynamic tags.
1.0.0
- First release.
