<?php

/**
 * Theme Name: ESchool
 * Theme URI: http://demo.com/eschool
 * Author: demo.com
 * Author URI: http://demo.com
 * Description: Themes Is WordPress Theme Market
 * @package eschool
 */
get_header();
global $codedokan;
?> 



<?php if(have_posts()) : ?>
               <?php while(have_posts()) : the_post(); ?>
       
                            
                	<!--================================
							Singel- Teacher Page-start
                      ===============================-->        
           <div class="single-teacher-page">
               <div class="container">
				<div class="row"> 
				   <div class="col-lg-4 col-md-4"> 
				   <?php $teachers_image = get_post_meta(get_the_ID(),'teachers_image', true); if($teachers_image){ ?>
						<div class="single-teacher-image">
							<img src="<?php echo $teachers_image; ?>" alt="">
						</div>
				   <?php } ?>
						
						<div class="single-tSocial"> 
							<?php $link = get_post_meta(get_the_ID(),'facebook_url', true); if($link){ ?>
                                        <a href="<?php echo $link; ?>" target="_blank"> <i class="lab la-facebook-f"></i></a>
										<?php } ?>
									<?php $link = get_post_meta(get_the_ID(),'twitter_url', true); if($link){ ?>
                                        <a href="<?php echo $link; ?>" target="_blank">
							<a href=""><i class="lab la-twitter"></i></a>
							<?php } ?>
										<?php $link = get_post_meta(get_the_ID(),'linkedin_url', true); if($link){ ?>
                                        <a href="<?php echo $link; ?>" target="_blank">
							<i class="lab la-linkedin-in"></i></a>
							<?php } ?>
										<?php $link = get_post_meta(get_the_ID(),'web_url', true); if($link){ ?>
                                        <a href="<?php echo $link; ?>" target="_blank">
							<a href=""><i class="lab la-internet-explorer"></i></a>
							<?php } ?>
					
						</div>
						
						
			
						
				   
				   </div>
                    <div class="col-lg-8 col-md-8">
                        <div class="sinlge-teacher-item">
                            <div class="sTitle-one">
									 <?php echo get_post_meta(get_the_ID(),'teachers_name', true); ?>
                            </div>  
                                <?php $teachers_designation = get_post_meta(get_the_ID(),'teachers_designation', true); if($teachers_designation){ ?>  
                            <div class="sTitle-two">
								<?php echo $teachers_designation; ?>
                            </div>
								<?php } ?>
								
								 <?php $mobile_number = get_post_meta(get_the_ID(),'mobile_number', true); if($mobile_number){ ?>  
                            <div class="sTitle-two">
								<?php echo $mobile_number; ?>
                            </div>
								<?php } ?>
                            
                        </div>
                        
							<div class="single-teacher-content">
							
							<?php echo get_post_meta(get_the_ID(),'teachers_details', true); ?> 
						
							</div>
							
							
													
							
                        </div>
                        
                    </div>
               </div>
           </div>
					<!--================================
							Archive-Page-End
                      ===============================-->
	        
     <?php endwhile;  endif;?>   
  
<?php
get_footer();
?>    