Current File : /home/kelaby89/topflowroofingplumbing.com.au/wp-content/themes/homlane/single-gallery.php |
<?php get_header();
$data = \HOMLANE\Includes\Classes\Common::instance()->data('single-gallery')->get(); ?>
<!--page-title-area start-->
<section class="page-title-area" style="background-image: url(<?php echo esc_url( $data->get( 'banner' ) ); ?>);">
<div class="container">
<div class="row">
<div class="col-xl-12">
<div class="page-title-wrapper text-center">
<h1 class="page-title mb-20"><?php if( $data->get( 'title' ) ) echo wp_kses( $data->get( 'title' ), true ); else( wp_title( '' ) ); ?></h1>
<ul class="breadcrubm">
<?php echo homlane_the_breadcrumb(); ?>
</ul>
</div>
</div>
</div>
</div>
</section>
<!--page-title-area end-->
<?php while (have_posts()) : the_post(); ?>
<!--gallery-single-area start-->
<section class="gallery-single-area pt-120 pb-60">
<div class="container">
<div class="row">
<div class="col-xl-4 col-lg-4">
<div class="left-single-area">
<div class="widget mb-50">
<div class="widget-content theme-bg">
<div class="widget-coach-content theme-bg mb-20">
<h3 class="single-title"><?php echo wp_kses(get_post_meta( get_the_id(), 'coach_title', true ), true); ?></h3>
<ul class="widget-list">
<?php if(get_post_meta( get_the_id(), 'name', true )) { ?>
<li><span><?php esc_html_e('Name :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'name', true ), true); ?></li>
<?php } ?>
<?php if(get_post_meta( get_the_id(), 'mobile_number_1', true )) { ?>
<li><span><?php esc_html_e('Mobile Num :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'mobile_number_1', true ), true); ?></li>
<?php } ?>
<?php if(get_post_meta( get_the_id(), 'mobile_number_2', true )) { ?>
<li><span><?php esc_html_e('Mobile Num :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'mobile_number_2', true ), true); ?></li>
<?php } ?>
<?php if(get_post_meta( get_the_id(), 'email_address', true )) { ?>
<li><span><?php esc_html_e('Email :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'email_address', true ), true); ?></li>
<?php } ?>
<?php if(get_post_meta( get_the_id(), 'address', true )) { ?>
<li><span><?php esc_html_e('Address :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'address', true ), true); ?></li>
<?php } ?>
</ul>
</div>
<div class="widget-coach-content theme-bg">
<h3 class="single-title"><?php echo wp_kses(get_post_meta( get_the_id(), 'project_title', true ), true); ?></h3>
<ul class="widget-list">
<?php if(get_post_meta( get_the_id(), 'project_name', true )) { ?>
<li><span><?php esc_html_e('Name :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'project_name', true ), true); ?></li>
<?php } ?>
<?php if(get_post_meta( get_the_id(), 'project_date', true )) { ?>
<li><span><?php esc_html_e('Starting Date :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'project_date', true ), true); ?></li>
<?php } ?>
<?php if(get_post_meta( get_the_id(), 'project_email', true )) { ?>
<li><span><?php esc_html_e('Email :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'project_email', true ), true); ?></li>
<?php } ?>
<?php if(get_post_meta( get_the_id(), 'project_location', true )) { ?>
<li><span><?php esc_html_e('Location :', 'homlane'); ?></span> <?php echo wp_kses(get_post_meta( get_the_id(), 'project_location', true ), true); ?></li>
<?php } ?>
</ul>
</div>
</div>
</div>
<div class="widget mb-50">
<div class="widget-tag-content">
<h3 class="single-title">Tags</h3>
<ul class="widget-tags">
<li><a href="#">Nutritions</a></li>
<li><a href="#">Physical</a></li>
<li><a href="#">Sports</a></li>
<li><a href="#">Gymnism</a></li>
<li><a href="#">Transform</a></li>
<li><a href="#">Workout</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-xl-8 col-lg-8">
<div class="gallery-single-content mb-30">
<div class="single-box">
<h3 class="single-title"><?php the_title(); ?></h3>
</div>
<?php the_content(); ?>
</div>
</div>
</div>
</div>
</section>
<!--gallery-single-area end-->
<?php endwhile; ?>
<?php get_footer(); ?>