Server IP : 172.67.216.182 / Your IP : 172.70.208.140 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/coircraft.com/wp-content/themes/coircraft/ |
Upload File : |
<?php /** * * Template Name: About Page * */ get_header(); ?> <section class="inner-cont about-pg"> <div class="container"> <div class="sec-hd"> <div class="small-tp"><?php echo get_field('about_subhead',$post->ID); ?></div> <div class="hd"><?php echo get_field('about_heading',$post->ID); ?></div> </div> <div class="row"> <div class="col-lg-5"> <div class="i-left"> <?php $img = wp_get_attachment_url(get_post_thumbnail_id($post->ID)); if(empty($img)){ $img = TEMPLATE_URL.'images/no-image-about.jpg'; $img_alt = 'thumb'; }else { $img_alt = get_post_meta(get_post_thumbnail_id($post->ID),'_wp_attachment_image_alt',true); if(empty($img_alt)) $img_alt = 'thumb'; } ?> <figure> <img src="<?php echo $img; ?>" alt="<?php echo $img_alt; ?>"> </figure> </div> </div> <div class="col-lg-7"> <div class="i-right"> <div class="hd"> <?php while(have_posts()):the_post();?> <?php echo apply_filters('the_content',$post->post_content); ?> <?php endwhile; ?> <?php wp_reset_query(); ?> </div> <div class="txt"> <?php echo get_field('about_content',$post->ID); ?> </div> </div> </div> </div> </div> <div class="container"> <div class="a-mission"> <div class="hd"><?php echo get_field('mission_heading',$post->ID); ?></div> <blockquote><?php echo get_field('mission_blockquote',$post->ID); ?></blockquote> <div class="txt"><?php echo get_field('mission_content',$post->ID); ?></div> </div> <?php $profiles = get_post_meta($post->ID,'profiles',true); if(!empty($profiles)){ ?> <div class="mentors"> <div class="row"> <?php foreach($profiles as $pr){ $profile_image = wp_get_attachment_url($pr['profile-image']); ?> <div class="col-md-4"> <div class="men-in"> <figure class="center-both"> <img src="<?php echo $profile_image; ?>"> </figure> <div class="name"><?php echo $pr['profile-title']; ?></div> <div class="desig"><?php echo $pr['profile-subtitle']; ?></div> </div> </div> <?php } ?> </div> </div> <?php } $aboutus = get_post_meta($post->ID,'aboutus',true); if(!empty($aboutus)){ ?> <div class="features"> <div class="row"> <?php foreach($aboutus as $pr){ ?> <div class="col-lg-4 col-md-6"> <div class="feature-in"> <div class="head"><?php echo $pr['title']; ?></div> <div class="txt"><p><?php echo $pr['aboutcontent']; ?></p></div> </div> </div> <?php } ?> </div> </div> <?php } ?> </div> </section> <?php get_footer();