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.

This plugin comes with two custom admin colours, Neon Pink ( you will ned sunglasses ) and Material, if the custom colours are are selected they also shown on the customizer and the adminbar on front end view.

You can also select a standard admin colour which will override the user colours on staging or development.

The plugin comes pre-loaded with patterns for development and staging domain name matching. You can changes these as required in the plugin’s settings page.

Search engine visibility can also be controlled automatically to stop your staging sites getting indexed by Google.

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

Can I change what is recognized as a dev or staging domain?

Yes – go to Dashboard>Settings>Staging Colours

I changed the settings for domain selection and now nothing shows

If you change the domain regular expressions and make a mistake and nothing shows becaus ethe plugin ‘thinks’ your domain is live – simply deactivate, delete and re-install the plugin. this will reset the expressions

Reviews

May 8, 2020
Very useful plugin that helps ensure you don't delete the wrong plugin or search and replace the wrong database content on a live site. Too many hours on the computer and you're guaranteed to mistake your staging site for you live site at some point. With a custom colour scheme or warning banner like this plugin provides it's greatly reduce the chance of silly mistakes like that. Great work, thanks for sharing 🙂
January 10, 2020
This really helps when swapping between local development, staging sites and live sites. Setting a striking colour scheme for each of the three situations really helps know where the heck you are!
October 9, 2019
I am impressed. 3 minutes to respond to my suggestion, and 20 minutes to implement it!
Read all 3 reviews

Contributors & Developers

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

Contributors

Changelog

4.0.0

  • Adds a setting to auto noindex dev and staging site and auto allow search engines for live

3.0.2

  • set options if none exist

3.0.1

  • php tidy

3.0.0

  • Major changes to allow definition of development and staging domain and selection of any registered color scheme

2.2.5

  • fix missing class

2.2.4

  • removed link

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