<?php
/**
*
* @package LZ Fitness Premium
*/ 

if(get_theme_mod('lz_fitness_premium_aboutmeditationclass_section_disable') != 'on' ){
?>
<section id="ht-aboutmeditationclass-section" class="ht-section" >
	<div class="lightbox">
<div class="container">
<div class=" wow fadeInUp" data-wow-duration="1s">
	<div class="row row-eq-height">
		<?php
// echo "post id: ". 
		$lz_fitness_aboutmeditationclass_page_id = get_theme_mod('lz_fitness_aboutmeditationclass_page');
// echo '<br>title '.
		$lz_fitness_aboutmeditationclass_title = get_theme_mod('lz_fitness_aboutmeditationclass_title', 'Who We Are?');
		//$lz_fitness_aboutmeditationclass_texts_subtitle = get_theme_mod('lz_fitness_aboutmeditationclass_texts_subtitle', 'Beautifully handcrafted templates for your website.');
		$lz_fitness_aboutmeditationclass_subheading = get_theme_mod('lz_fitness_aboutmeditationclass_subheading', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi hendrerit elit turpis, a porttitor tellus sollicitudin at.Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.'); 
		$lz_fitness_aboutmeditationclass_text = get_theme_mod('lz_fitness_aboutmeditationclass_text', 'Lorem Ipsum is simply dummy text of the printing and tysetting industry. Lorem Ipsum has been the industry’s standard dumy text ever since the 1500s, when an unwn printer took a galley of type and scrambled it to make a type specimen book. remaining essentially unchanged. It was popularised in the with theLorem Ipsum is simply dummy text of the printing and eentially unchanged. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. remaining essentially unchanged. It was popularised in the with theLorem Ipsum is simply dummy text of the printing and eentially unchanged.');

		?>
		<div class="col-md-8 col-sm-12 padding0 aboutmeditationclass-box">
				<div class="inside-full-height">
					
						<div class="col-md-6 col-md-offset-6 ht-section-title-tagline">
							<h2 class="ht-section-title lz-aboutmeditationclass-heading">
								<?php 
								if(!empty($lz_fitness_aboutmeditationclass_title))	{
									echo ($lz_fitness_aboutmeditationclass_title);
								} ?>
							</h2>
							</div>
							<!-- <div class="lz-fitness-about-text-subtitle">
								<?php 
								//if(!empty($lz_fitness_aboutmeditationclass_texts_subtitle))	{//
									//echo ($lz_fitness_aboutmeditationclass_texts_subtitle);
								//} ?>
							</div> -->
							<div class="lz-fitness-aboutmeditationclass-subheading">
								<?php 
								if(!empty($lz_fitness_aboutmeditationclass_subheading))	{
									echo ($lz_fitness_aboutmeditationclass_subheading);
								} ?>
							</div>
							<div class="Meditation-text-box">
								<?php
							if($lz_fitness_aboutmeditationclass_text){
								echo $lz_fitness_aboutmeditationclass_text;
							}else{
								$args = array(
									'page_id' => absint($lz_fitness_aboutmeditationclass_page_id)
								);
								$query = new WP_Query($args);
								$query->the_post();
								echo lz_fitness_excerpt( get_the_content(), 210);  
							}?>
							</div>
						

						
						<!-- for button1 display-->
						<?php if( get_theme_mod('aboutmeditationclass_button_display','show' ) == 'show') :
							?>
						<div class="aboutmeditationclass-readmore">
							<?php
								$aboutmeditationclassbutton = get_theme_mod('lz_fitness_aboutmeditationclass', 'Read More'); 
								$aboutmeditationclasslink = get_theme_mod('lz_fitness_aboutmeditationclasslink', 'add link here');
								?>
							<?php if(!empty($aboutmeditationclasslink)){ ?>
									<div class='button'> <a href="<?php echo $aboutmeditationclasslink ?>" title="products"><?php echo esc_html($aboutmeditationclassbutton );  ?></a>
									</div>
								<?php }?>
						</div>
						<?php endif ?>
						
				</div>
				<div class="clearfix"></div>
			</div>
			<div class="col-md-4 col-sm-12 aboutmeditationclass padding0">
				<div class="inside-full-height">

					<?php 
					$lz_fitness_aboutmeditationclass_image = get_theme_mod('lz_fitness_aboutmeditationclass_image');
					if(!empty($lz_fitness_aboutmeditationclass_image)){
						echo '<img alt="'. esc_html(get_the_title()) .'" src="'.esc_url($lz_fitness_aboutmeditationclass_image).'" class="img-responsive" />';
					}else{
						echo '<img alt="About Us" src="'.get_template_directory_uri().'/images/aboutmain1.jpg" class="img-responsive aboutbox-img" />';
					}
					?>
				</div>
				
			</div>
			
	</div>
	<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>

</div>
</section>
<?php } 