BACK TO DIRECTORY

Abhinavdev Environment Badge

by Abhinav Saxena

5.0
(2 ratings)

Abhinavdev Environment Badge is a lightweight, zero-bloat utility plugin created for WordPress developers, agency teams, and site owners.

Have you or your clients ever accidentally edited posts, deleted products, or updated theme options on a Live Production site believing you were safely working on a Staging or Local sandbox?

This plugin eliminates that risk by injecting an unmistakable, color-coded visual indicator directly into the top WordPress Toolbar (Admin Bar) on both backend and frontend.

Key Features

  • Intelligent Environment Detection: Automatically identifies your environment using native WordPress wp_get_environment_type(), WP_ENVIRONMENT_TYPE constants, or domain heuristics (localhost, .test, .local, staging.*).
  • Manual Override & Custom Labels: Need to specify a custom label like “Client UAT” or “Feature Branch”? Override detection with a single click.
  • Custom Color Palettes: Full control over background and text colors for each environment using native WordPress color pickers.
  • Live Settings Preview: See your badge update in real-time right inside the settings dashboard before saving.
  • System Info Dropdown: Hovering over the badge displays key diagnostic data: Active Environment, WordPress Version, PHP Version, and Host name.
  • Position Controls: Position the badge on the right or left of the admin bar.
  • Frontend Visibility Option: Choose whether logged-in administrators see the badge on the frontend or backend only.
  • 100% Native & Lightweight: Zero third-party JavaScript libraries or external CDN dependencies. Clean CSS and native WordPress Settings API.

Screenshots

Admin Bar showing the bright environment badge and system info dropdown.

Admin Bar showing the bright environment badge and system info dropdown.

Settings dashboard featuring live preview and color pickers.

Settings dashboard featuring live preview and color pickers.

Plugin Details

Active Installs
0
Total Downloads
164
Version
1.1.0
Requires WP
5.5
Requires PHP
7.4
Tested Up To
7.1.3
Added
2026-10-17
Last Updated
2026-10-23 11:24am GMT

Ratings

5
2
4
0
3
0
2
0
1
0