This plugin shows the environment name (dev || staging || prod) in the Wordpress toolbar, to avoid editing the wrong environment.
This plugin shows the environment name (dev || staging || prod) in the Wordpress toolbar, to avoid editing the wrong environment.
It's settings are added to wp-config.php to set and forget. If you replace the DB you still preserve the enviromnemt name.
This section describes how to install the plugin and get it working.
- Upload
advanced_environment_indicator
to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Place
define('ADVANCED_ENVIRONMENT_INDICATOR_NAME', 'development');
in your wp-config.php. Replace 'development' with the name of your environment. - Place
define('ADVANCED_ENVIRONMENT_INDICATOR_COLOR', '#669900');
in your wp-config.php. Replace '#669900' with any valid CSS color value of your choice.
This plugin povides a clear and reliable environment indicator. Having your environment name set in the wp-config.php will not be overwritten when you migrate databaseses back and forth.
You can, and if that is enough you will not need this plugin.
First release.