Auto Set Admin Colour on Staging and Dev

Description

Lightweight plugin to help developers know they are on their staging site.

If your domain appears to be a staging or dev domain the admin colours change to a bright colour and you get a nag notice to remind you.

The colours are also shown on the customizer and the adminbar on front end view.

TLDs that are considered as dev or staging:

  • *.dev
  • *.dev.cc
  • *.test
  • *.local
  • *.staging
  • *.example
  • *.invalid
  • *.myftpupload.com (GoDaddy)
  • *.cloudwaysapps.com (Cloudways)
  • *.ngrok.io (tunneling)

Subdomains that are considered as dev or staging:

  • local.*
  • dev.*
  • test.*
  • staging.*
  • stagingN.* (SiteGround; N is an unsigned int)
  • *.staging.wpengine.com (WP Engine)
  • dev-*.pantheonsite.io (Pantheon)
  • test-*.pantheonsite.io (Pantheon)

Additionally, if your domain is localhost (with any port), it will also be treated as a dev or staging domain.

Screenshots

  • Neon Pink
  • Material Design Blue
  • customizer
  • front-end

Installation

Install as a normal wordpress plugin

FAQ

Are there any settings?

Dashboard>Settings>Staging Colours but please note, to keep things tidy the setting page is not displayed on production sites ( as it adds no value and hence is just clutter )

Can I change the colour scheme?

Yes – go to Dashboard>Settings>Staging Colours

Reviews

October 9, 2019
I am impressed. 3 minutes to respond to my suggestion, and 20 minutes to implement it!
Read all 1 review

Contributors & Developers

“Auto Set Admin Colour on Staging and Dev” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.2.3

  • 5.3 support
  • remove settings page from live sites

2.2.2

  • added *.dev.cc

2.2.1

  • change link to correct support page

2.2

  • added Freemius optin
  • added uninstall clean up of settings

2.1

  • #2 add colour to frontend adminbar
  • #3 add colour to customizer

2.0

  • Added extra colour scheme and an settings option page

1.1.1

  • Fix localisation

1.1

  • Extend list of domains