Select Page
<?php
/**
 * Case studies
 *
 * @package understrap
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>

<?php
$show_message = get_field('show_emergency_message', 'option');

if ($show_message == true) {

    $message_title = get_field('message_title', 'option');
    $message_content = get_field('message_content', 'option');

    ?>

    <div class="section-sitewide-message" data-aos="fade-in">   
        <div class="col text-center" data-aos="fade-down" data-aos-delay="250">
            <?php echo '<h4>' . $message_title . '</h4>' . $message_content ?>
        </div>
    </div>
 
<?php
}
?>