<?php  
	$hotel_26_blog_hs 				= get_theme_mod('blog_hs','1');
	$hotel_26_blog_title 			= get_theme_mod('blog_title');
	$hotel_26_blog_subtitle 		= get_theme_mod('blog_subtitle');
	$hotel_26_blog_description		= get_theme_mod('blog_description');  
	$hotel_26_blog_display_num		= get_theme_mod('blog_display_num','3'); 
	if($hotel_26_blog_hs=='1'){
?>
<section id="post-section" class="post-section st-py-default">
	<div class="container">
		<div class="heading-default text-center wow fadeIn" data-wow-delay="100ms" data-wow-duration="1500ms">
			<div class="section-title">
				<?php if(!empty($hotel_26_blog_title)): ?>
					<h6 class="sub-title wow bounceInDown"><?php echo wp_kses_post($hotel_26_blog_title); ?></h6>				
				<?php endif; ?>
				<?php if(!empty($hotel_26_blog_subtitle)): ?>
					<h2 class="wow bounceIn title"><?php echo wp_kses_post($hotel_26_blog_subtitle); ?></h2>				
				<?php endif; ?>
				<?php if(!empty($hotel_26_blog_description)): ?>
					<p class="wow bounceInUp desc"><?php echo wp_kses_post($hotel_26_blog_description); ?></p>
				<?php endif; ?>				
			</div>
		</div>
		<div class="post-slider owl-carousel owl-theme">
			<?php 
				$hotel_26_blog_args = array( 'post_type' => 'post', 'posts_per_page' => $hotel_26_blog_display_num) ; 	
				
				$hotel_26_wp_query = new WP_Query($hotel_26_blog_args);
				if($hotel_26_wp_query)
				{	
				while($hotel_26_wp_query->have_posts()):$hotel_26_wp_query->the_post();  
					get_template_part('template-parts/content/content','page');
				 endwhile;
				}
			?>
		</div>
	</div>
</section>
<?php } ?>