We were just updating a client site and needed to put up a temporary “Maintenance” page up while we did some major changes to their site. This little snippet should be included in your WordPress theme’s functions.php file.
Easy way to make a temporary “Maintenance” page in WordPress
By Derek Ashauer