<?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 $student_image = get_post_meta(get_the_ID(),'masterpiec_student_image', true); if($student_image){ ?>
						<div class="single-teacher-image">
							<img src="<?php echo $student_image; ?>" alt="">
						</div>
				   <?php } ?>
						
					
						
						
			
						
				   
				   </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(),'masterpiece_student_name', true); ?> 
                            </div>  
                               
                            <div class="sTitle-two">
								<?php echo $codedokan['class_name']; ?> : <?php echo get_post_meta(get_the_ID(),'masterpiece_class_name', true); ?> 
                            </div>
								
								
								
                            
                        </div>
                        
							<div class="single-teacher-content">
							
							<?php echo get_post_meta(get_the_ID(),'masterpiec_student_details', true); ?> 
						
							</div>
							
							
													
							
                        </div>
                        
                    </div>
               </div>
           </div>
					<!--================================
							Archive-Page-End
                      ===============================-->
	        
     <?php endwhile;  endif;?>   
  
<?php
get_footer();
?>    