WP Environments
Add a color coded background and label to the admin bar to distinguish between environments.
by Super Rad⚡️ · github.com/gosuperrad/wp-environments · website
★ 1stars
1release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/gosuperrad/wp-environments/releases/download/v1.0.0/wp-environments.zipDeclares an update source (https://github.com/gosuperrad/wp-environments), so updates arrive through the plugin's own updater.
From the readme
WP Environments
This plugin allows you to set up different environments for your WordPress site. It is useful for when you have a
development site and a production site, and you want to be able to easily distinguish between environments.
Installation
Composer (recommended)
The plugin isn't published on Packagist, so add it as a VCS repository in your site's
composer.json:
Then require it:
The plugin pulls in composer/installers, so it lands in your plugins directory
automatically — web/app/plugins/wp-environments/ on Bedrock,
wp-content/plugins/wp-environments/ otherwise — and resolves the latest v1.x tag. Use
dev-main instead of ^1.0 to track the main branch. (This repo is public, so no auth is
needed; a private clone would need a GitHub token in auth.json or SSH.)
Manual
1. Download wp-environments.zip from the latest release.
2. In the WordPress admin, go to Plugins → Add New → Upload Plugin and upload the zip
(or unzip it into wp-content/plugins/).
3. Activate the plugin through the Plugins menu.
Configure
Set the environment type in wp-config.php:
Usage
The plugin will add a colored bar to the top of the admin bar. The color of the bar will depend on the environ
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.0 | May 23, 2026 | wp-environments.zip | 1 |