Plugin info

Total downloads: 10,988
Active installs: 200
Total reviews: 3
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 3 language(s)
Contributors: 2
Last updated: 7/16/2024 (533 days ago)
Added to WordPress: 8/8/2017 (8 years old)
Minimum WordPress version: 4.6
Tested up to WordPress version: 6.6.4
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 533 days ago • 3 reviews

28/100

Is Show Environment in Admin Bar abandoned?

Possibly abandoned (last update 533 days ago).

Compatibility

Requires WordPress: 4.6
Tested up to: 6.6.4
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Hide Admin Bar
Rating 4.4/5 (29 reviews)Active installs 20,000
Hide Admin Bar Based on User Roles
Rating 3.8/5 (19 reviews)Active installs 20,000
Admin Bar & Dashboard Access Control
Rating 4.7/5 (18 reviews)Active installs 3,000
WP Admin UI
Rating 3.9/5 (22 reviews)Active installs 2,000
WP Hide Dashboard
Rating 5.0/5 (20 reviews)Active installs 2,000
Template Debugger
Rating 5.0/5 (7 reviews)Active installs 2,000

Description

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.
  • Development
    • 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.
  • QA
    • 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.

Installation

No installation instructions available

Frequently Asked Questions

No FAQ available

Review feed

joppuyo
3/11/2019

Essential plugin when working in multiple environments

Super handy if you are click-happy with your mouse like me. Red "Prod" badge in admin bar is effective way to prevent you from accidentally messing up the production
Knut Sparhell
9/12/2020

Useful for developers like us

I'm like the author. I sometimes change admin color, but can never remember what color I set for Prod vs Dev.

Screenshots

  1. Production

    Production

  2. Staging

    Staging

  3. QA

    QA

  4. Development

    Development

  5. Custom — Preview

    Custom — Preview

Changelog

1.2.1 (2024-07-15)

  • Bug fix: forgot to declare $wp_version as a global in SHC_Show_Env:init(). D’oh!

1.2 (2024-07-15)

  • Updated the priority at which admin_bar_menu is hooked into. See Trac 60685, comment 18 for why this change was made.

1.1

  • General code reorg
  • Added support for QA environment
  • minor CSS fixes
  • changed the Text Domain (for localization) to ‘show-environment-in-admin-bar’, so that the translate.wordpress.org service can be used.

1.0.1

  • Correct formatting in readme.txt
  • Removed GitHub Plugin URL reader

1.0

  • Initial release on .org