<?php get_header(); ?>

	
<main id="main-content">
	
<!-- function to run before the content -->
<?php if (have_posts()): while (have_posts()) : the_post(); ?>



<?php 
if (in_category('summer-resorts')) :
	include_once('single-summer-resorts.php');
elseif (in_category('summer-activities')) :
	include_once('single-summer-activities.php');
elseif (in_category('mountain-living')) :
	include_once('single-mountain-living.php');
elseif (in_category('property-news')) :
	include_once('single-property-news.php');
elseif (in_category('resort-news')) :
	include_once('single-resort-news.php');
elseif (in_category('scenic-touring')) :
	include_once('single-scenic-touring.php');
elseif (in_category('holiday-offers')) :
	include_once('single-holiday-offers.php');
elseif (in_category('news-offers')) :
	include_once('single-news-offers.php');
elseif (in_category('development')) :
	include_once('single-development.php');
else : /* default */
	include_once('single-backup.php');
endif;
?>



<!-- Contextual Related Posts -->
<?php if ( function_exists( 'echo_ald_crp' ) ) echo_ald_crp(); ?>
<!-- Contextual Related Posts end-->


	<?php endwhile; ?>

	<?php else: ?>
 
		<!-- article -->
		<article>

			<h1><?php _e( 'Sorry, nothing to display.', 'html5blank' ); ?></h1>

		</article>
		<!-- /article  -->

	<?php endif; ?>

	
	<!-- ends page content-->

	

	
	</main><!-- ends main content -->


<?php get_footer(); ?>