maintenance mode enable
place maintenance.php file in the main theme folder, or within the library folder if there is one.
place the following in functions.php
in the case of sites using a child theme, place files in the main parent theme folder.
// MAINTENANCE MODE CUSTOM SETTING
require_once( 'library/maintenance.php' );