I am doing some work with Wordpress, where we have a development server and a production server. The development side is set up as a git repo, and the production side pulls from the dev repo when we want to pull in changes:
1
|
|
I move between the two environments using the host file, which sometimes means I’m not sure which environment I’m in. I put the following in functions.php to help me out:
1 2 3 4 5 6 7 8 9 |
|
So now, anyone viewing the development server will have a small red border around the screen.