WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Paul Biron v1.2.1

Show Environment in Admin Bar

Add an indication to the Admin Bar of the environment WordPress is running in (e.g., Prod, Staging, QA, Dev, etc).

Show Environment in Admin Bar

The facts

Rating
5★ from 3
Active installs
200+
Price
Free
Last updated
16 Jul 2024
Added
Aug 2017
Requires WP
4.6
Tested up to
WP 6.6.7
Downloads
15,048

Our analysis

AI-assisted

Show Environment in Admin Bar is a WordPress plugin that helps you identify the current environment of your site directly from the Admin Bar. It provides visual cues for different environments, such as Production, Development, and Staging, reducing the risk of making changes in the wrong environment.

The plugin automatically detects Production and Development environments, displaying them with distinct background colours in the Admin Bar. You can also manually configure additional environments like Staging. This tool is useful for developers and site administrators managing multiple versions of a WordPress site.

Best for: This plugin suits developers and site administrators managing multiple WordPress environments.

What it does well

  • Indicates current environment in Admin Bar
  • Red, green, yellow, and blue backgrounds for different environments
  • Supports manual configuration for additional environments
  • Helps prevent accidental changes in the wrong environment

Where it falls short

  • Limited to predefined environments without automatic detection for some

Verdict

Show Environment in Admin Bar is a practical tool for enhancing site management. It effectively reduces the risk of errors when working across different environments.

From the developer

Paul Biron's own description of Show Environment in Admin Bar, lightly tidied.

If you’re like me, you often have multiple versions of the same WordPress site open in different browser windows, e.g., production in one window and development in another window.

And if you’re like me, you have also unwittingly edited content in the production environment thinking you were doing so in the development environment or vice versa.

If so, then this plugin is for you!

It adds an indication of the current environment to the Admin Bar that is easier to see than examining the URL in your browser’s address bar.

Out-of-the-box behavior

Out-of-the-box, 2 different environments are recognized:

  • Production
    • The node added to the Admin Bar has a red background (i.e., Stop/be careful with any changes you make).
    • If neither a staging, QA, nor development environment is detected, then Prod is displayed in the Admin Bar.
    • The node added to the Admin Bar has a green background (i.e., Go ahead, it is safe to make changes).
    • If WP is running on localhost (either a loopback IP address or LAN IP address), then Local displays in the Admin Bar.
    • If WP_DEBUG is defined & true, then Dev displays in the Admin Bar.

    Customizing the out-of-the-box behavior

    Two additional environments are supported, but cannot be automatically detected:

    • Staging
      • The node added to the Admin Bar has a yellow-ish background (i.e., Slow down, changes might make it into the production site).
      • For information on how to enable this environment, see the documentation.
      • The node added to the Admin Bar has a blue background (i.e., “It’s cool”, changes you make won’t affect the production site).
      • For information on how to enable this environment, see the documentation.

      Read the full description on the official page →

Tagged as

Alternatives

Other plugins for environmental organisations.

Speed Optimizer

Boost your website performance and page speed, and increase conversions with powerful caching, frontend, media...

Free 1M+ installs 4.2★ (639)
Version Info

Free memory & server IP display, PHP EOL countdown, live CPU/RAM sparklines, server location, environment...

Free 10k+ installs 5★ (15)
The Cache Purger

Automatically purge every server-side cache on your WordPress site — plugins, hosting environments, PHP, memor...

Free 1k+ installs 4.5★ (6)
Contextual Adminbar Color

Use custom admin bar colors and favicons to differentiate your environments (staging/prod)

Free 500+ installs 5★ (8)
Disable AI

Turn off unwanted AI features and notifications in plugins, themes, and WordPress Core.

Free 100+ installs 5★ (3)
Display Environment Type

Displays WordPress 5.5's environment type setting in the admin bar and the "At a Glance" dashbo...

Free 1k+ installs 5★ (4)