<?php
/**
 * Template Name: Custom Home Page
 *
 * @package Holiday Vacation
 * @subpackage holiday_vacation
 */

get_header(); ?>

<main id="tp_content" role="main">
			<?php
				$holiday_vacation_slider_option = get_theme_mod( 'holiday_vacation_slider_option','defaut-layout');
				if($holiday_vacation_slider_option == 'defaut-layout'){ ?>

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

				<?php get_template_part( 'template-parts/home/slider' ); ?>
				<?php do_action( 'holiday_vacation_after_slider' ); ?>

				<?php get_template_part( 'template-parts/home/category-tab' ); ?>
				<?php do_action( 'holiday_vacation_after_category-tab' ); ?>
				
		<?php }
		else if($holiday_vacation_slider_option == 'custom-layout'){ ?>
			<div class=" slider2 col-lg-12 col-md-12">
				<?php do_action( 'holiday_vacation_before_slider' ); ?>
				<?php get_template_part( 'template-parts/home/slider' ); ?>
				<?php do_action( 'holiday_vacation_after_slider' ); ?>

			</div>
		<?php }?>

	<?php get_template_part( 'template-parts/home/home-content' ); ?>
	<?php do_action( 'holiday_vacation_after_home_content' ); ?>
</main>

<?php get_footer();
