- Developed by: Smarty Studio | Martin Nestorov
- Plugin URI: https://github.com/smartystudio/smarty-change-admin-colors
Change admin colors based on the server (local, dev, staging, production).
The SM - Change Admin Colors plugin offers a dynamic way to change the WordPress admin dashboard's color scheme based on the server environment. This feature aids in distinguishing between local, development, staging, and production environments at a glance, reducing the risk of making unintended changes in the wrong environment. Developed by Smarty Studio and Martin Nestorov, this plugin integrates seamlessly into your WordPress setup, enhancing workflow efficiency and safety.
- Download the Plugin: Download the ZIP file from the repo.
- Upload to WordPress:
- Navigate to your WordPress admin panel.
- Go to Plugins > Add New > Upload Plugin.
- Choose the downloaded ZIP file and click 'Install Now.'
- Activate the Plugin:
- Once installed, click on 'Activate Plugin' to enable its features on your site.
After activation, the plugin automatically detects your WordPress environment setting and changes the admin bar color accordingly based on define('WP_ENVIRONMENT_TYPE', 'staging')
constant being set in your wp-config.php file.
- Local: Orange
- Development: Blue
- Staging: Purple
- Production: Green
No further configuration is required. The plugin works out of the box by utilizing the wp_get_environment_type()
function to determine the current environment and applying the respective color to the admin bar.
For a detailed list of changes and updates made to this project, please refer to our Changelog.
This project is released under the GPL-2.0+ License.