<?php get_header(); 
/*
Template Name: Comming Soon Template
*/
?>
<!-- ==== HOME HEADERWRAP ==== -->
	

<?php 
		
		global $slant_options;
        $kp_options = get_option('slant_options');
		$kp_image ="";

	if (have_posts()) : while (have_posts()) : the_post(); 
	if (has_post_thumbnail())
	{
	$kp_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' ); 
	
	}
		

	
?>
	
		<div class="section-divider white-text comesoon"  data-comesoon-active = "1" style="background: url(<?php echo $kp_image[0]; ?>);">

		<div class="pattern-overlay "></div>
			

			<div  class="container centered">
		
			
			  <?php

				if (isset($kp_options['comesoon_logo_img']) && $kp_options['comesoon_logo_img'] == "1") {
				if (isset($kp_options['comesoon_logo']) && $kp_options['comesoon_logo'] != "") {
                $kp_comesoon_logo = $kp_options['comesoon_logo'];
				if($kp_comesoon_logo['url']){ echo '<h2 data-animated="fadeInUp" > 
				<img  class="logo" alt="'. get_bloginfo('name') .'" src="' . $kp_comesoon_logo['url'] . '" /></h2>';}
					}
				 } else { echo '<h2 class="logo_txt" data-animated="fadeInUp" >'.get_bloginfo('name').'</h2>'; }
				 ?>
					

				<?php the_content(); ?>
				

	 <?php endwhile; endif; ?>

	<div class="clearfix"></div>
	<?php   if (isset($kp_options['enable_comesoon_footer']) && $kp_options['enable_comesoon_footer'] == "1"){    ?> 
	
	<div class="comesoon-footer social-footer">
	<div class="container">
	   <div class="row align-center centered copyright"><div class="col-sm-12">
			   <?php 
				if (isset($kp_options['enable_comesoon_copyright']) && $kp_options['enable_comesoon_copyright'] == "1") {
			    if (isset($kp_options['footer_copyright']) && $kp_options['footer_copyright'] != ""){?>
				<p><?php echo $kp_options['footer_copyright'];?> </p>
			  <?php } else{ ?><p>copyright  &copy;<?php echo date("Y"); echo " "; bloginfo('name'); ?>.</p><?php } } ?>
					
				</div>
			</div>
			
			<?php
			if (isset($kp_options['enable_comesoon_social']) && $kp_options['enable_comesoon_social'] == "1") { ?>
				
			<div data-animated="fadeIn" class="row">
				<div class="col-sm-12 align-center centered">
                    <ul class="social-network social-circle">
                      
					  
			<?php if(isset($kp_options['facebook-url']) && $kp_options['facebook-url'] != ""){
				if(isset($kp_options['footer-facebook']) && $kp_options['footer-facebook'] == "1"){
                ?> <li><a href="<?php echo $kp_options['facebook-url']; ?>" class="icoFacebook" title="Facebook"><i class="fa fa-facebook"></i></a></li> <?php
                }}
				if(isset($kp_options['twitter-url']) && $kp_options['twitter-url'] != ""){ 
				if(isset($kp_options['footer-twitter']) && $kp_options['footer-twitter'] == "1"){				
                ?> <li><a href="<?php echo $kp_options['twitter-url'] ;?>" class="icoTwitter" title="Twitter"><i class="fa fa-twitter"></i></a></li> <?php
                }}
				if(isset($kp_options['google-plus-url']) && $kp_options['google-plus-url'] != ""){ 
				if(isset($kp_options['footer-googleplus']) && $kp_options['footer-googleplus'] == "1"){	
				?><li><a href="<?php echo $kp_options['google-plus-url'] ;?>" class="icoGoogle" title="Google +"><i class="fa fa-google-plus"></i></a></li> <?php
                }}
				if(isset($kp_options['linkedin-url']) && $kp_options['linkedin-url'] != ""){ 
				if(isset($kp_options['footer-linkedin']) && $kp_options['footer-linkedin'] == "1"){	
				?> <li><a href="<?php echo $kp_options['linkedin-url'] ;?>" class="icoLinkedin" title="Linkedin"><i class="fa fa-linkedin"></i></a></li> <?php
                }}
				
				if(isset($kp_options['youtube-url']) && $kp_options['youtube-url'] != ""){ 
				if(isset($kp_options['footer-youtube']) && $kp_options['footer-youtube'] == "1"){	
				?>  <li><a href="<?php echo $kp_options['youtube-url'] ;?>" class="icoyoutube" title="youtube"><i class="fa fa-youtube"></i></a></li> <?php
                }}
				?>

				   </ul>				
				</div>
			</div>
			
			<?php } ?>

		<br><br>	
		<div class="clearfix"></div>
		</div><!--container-->
		</div><!--comesoon footer-->
		
		<?php } ?>
		

	</div><!-- container -->
		
		
			
			
			
		</div><!-- divider -->


	<div class="clearfix"></div>
     

<?php get_footer(); ?>