File: /home/dacusvillerec/public_html/wp-content/themes/exponent/maintenance-mode.php
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<?php
wp_head();
?>
</head>
<body <?php body_class(); ?> >
<?php
//wp_head();
$maintenance_post_id = !empty(be_themes_get_option('maintenance_mode_page')) && be_themes_get_option('maintenance_mode_page') !== 'none' ? be_themes_get_option('maintenance_mode_page') : null;//This is page id or post id
$content_post = get_post($maintenance_post_id);
if( !empty ($maintenance_post_id ) && !empty($content_post) ){
$content = $content_post->post_content;
echo do_shortcode($content);
} else {
echo '<div class="exponent-maintenance-mode-default" ><h1>Maintenance mode</h1><div>Sorry for the inconvenience. Our website is currently undergoing scheduled maintenance. Thank you for understanding.</div></div>';
}
wp_footer();
?>
</body>
</html>