Skip to content

v1.0.0

Latest

Choose a tag to compare

@justin-peacock justin-peacock released this 23 May 17:19
· 2 commits to main since this release

Color-codes the WordPress admin per environment so you always know whether you're on local, development, staging, or production.

Features

  • Color-coded admin bar background and label per environment (Local, Development, Staging, Production), based on wp_get_environment_type().
  • Per-environment colors injected as CSS custom properties from PHP.
  • Environment accent extended across the admin menu and admin-bar dropdowns — hover, focus, and current states stay on-palette across every admin color scheme.
  • Environment styling limited to logged-in users.
  • Optional "Force Login" setting under Tools → Environment.

Install

Download wp-environments.zip below and upload it via Plugins → Add New → Upload Plugin, or unzip into wp-content/plugins/.

Tested up to WordPress 7.0 · Requires PHP 8.0+