}
// Exit if accessed directly
get_header('snhotel');
?>

    <?php 
do_action('snhotel_before_main_content');
?>

        <?php 
while (have_posts()) {
    the_post();
    ?>

            <?php 
    snhotel_get_template_part('content', 'archive-event');
    ?>

        <?php 
}
// end of the loop.
?>

    <?php 
do_action('snhotel_after_main_content');
?>

    <?php 
do_action('snhotel_sidebar');
?>
}
// Exit if accessed directly
get_header('snhotel');
?>

    <?php 
do_action('snhotel_before_main_content');
?>

        <?php 
while (have_posts()) {
    the_post();
    ?>
               
            <?php 
    snhotel_get_template_part('content', 'single-event');
    //echo get_the_title();
    ?>

        <?php 
}
// end of the loop.
?>
        <div class="snhotel-col-3 sidebar">
<!-- 
           <aside class="room-nav-widget">
               <?php 
$current_room = get_the_ID();
$rooms = new WP_Query('post_type=snhotel_event&posts_per_page=-1');
?>
               <ul class="room-nav">
}
// Exit if accessed directly
get_header('snhotel');
?>

    <?php 
do_action('snhotel_before_main_content');
?>

        <?php 
while (have_posts()) {
    the_post();
    ?>

            <?php 
    snhotel_get_template_part('content', 'archive-offer');
    ?>

        <?php 
}
// end of the loop.
?>

    <?php 
do_action('snhotel_after_main_content');
?>

    <?php 
do_action('snhotel_sidebar');
?>
}
// Exit if accessed directly
get_header('snhotel');
?>

    <?php 
do_action('snhotel_before_main_content');
?>

        <?php 
while (have_posts()) {
    the_post();
    ?>
               
            <?php 
    snhotel_get_template_part('content', 'single-facility');
    //echo get_the_title();
    ?>

        <?php 
}
// end of the loop.
?>
        <div class="snhotel-col-3 sidebar">
<!--
           <aside class="room-nav-widget">
               <?php 
// $current_room = get_the_ID();
// $rooms = new WP_Query('post_type=snhotel_facility&posts_per_page=-1');
?>
               <ul class="room-nav">