Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/themightymo/tmm-maintenance-mode/archive/refs/heads/master.zipNever accidentally edit your live site again!
This super simple WordPress plugin hides your WordPress site from people who aren't logged in, displays a simple message for people who aren't logged in (see screengrab), adds a bright red favicon and changes the color of the WP admin bar to bright red to help you know you are editing a DEV site.

Additionally, you can add an image using the WP media uploader and replace the default message with whatever you'd like, including html markup:


All logged-in users will see the site without a "Maintenance Mode" message, only the admin bar and favicon will be red.