1. Temporary Maintenance

This snippet I always place right at the top of my functions.php file. This will stop any users from seeing your website except logged in Administrators. Useful if you are doing some quick work that may cause the theme to break if something goes wrong.