<?php
 /* Template Name: About Us */ 
/**
 * 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
									$code_dokan = new WP_Query(array(
										'post_type' => 'aboutus',
										'offset'     =>0,
										'posts_per_page' =>1,
									));
									while($code_dokan->have_posts()) : $code_dokan->the_post(); ?>
			   
                        
                	<!--================================
							Create Page-css start
                    =================================-->        
        <div class="create-page">
            <div class="container">
                <div class="col-lg-12 col-md-12">
                   <div class="page-title">
                        <?php the_title() ?>
                       <div class="icon-image">
                           <img src="<?php echo get_template_directory_uri(); ?>/assets/images/icon-image.png" alt="">
                       </div> 
                    </div>
                    
                     
                    <div class="page-content">
					<?php $img = get_post_meta(get_the_ID(),'about_image', true);
				if($img){ ?>
				
                                            <img src="<?php echo $img; ?>" alt="" style="float: left; width:40%; margin-right:20px"> 
				<?php } ?>
				
                        <?php echo the_content();?>
                    </div>
                    
                </div>
            </div>
            
        </div>
        
					<!--================================
							Create-Page-End
                    =================================-->
	        
  <?php endwhile;  ?>
  
<?php

?>    