get_header(); BYT_Theme_Utils::breadcrumbs(); get_sidebar('under-header'); global $post, $current_user, $byt_theme_globals, $byt_theme_of_custom, $byt_accommodations_post_type, $byt_cruises_post_type, $byt_tours_post_type, $byt_car_rentals_post_type, $default_location_tabs; $enable_accommodations = $byt_theme_globals->enable_accommodations(); $enable_cruises = $byt_theme_globals->enable_cruises(); $enable_car_rentals = $byt_theme_globals->enable_car_rentals(); $enable_tours = $byt_theme_globals->enable_tours(); $price_decimal_places = $byt_theme_globals->get_price_decimal_places(); $location_extra_fields = $byt_theme_globals->get_location_extra_fields(); $tab_array = $byt_theme_globals->get_location_tabs(); if (have_posts()) { the_post(); $location_id = $post->ID; $location_obj = new byt_location($post); $display_as_directory = $location_obj->get_custom_field('display_as_directory'); if (!$display_as_directory) { ?> <!--three-fourth content--> <section class="three-fourth"> <h1><?php echo $location_obj->get_title(); ?> </h1> <?php $location_obj->render_image_gallery(); ?> <!--inner navigation--> <nav class="inner-nav"> <ul> <?php