<?php
/**
* The Template for displaying all single posts
*/
$logistek_redux_demo = get_option('redux_demo');
get_header(); ?>
<?php
while (have_posts()): the_post();
$postid = get_the_ID();
$content1 = get_the_content();
$service_image = get_post_meta(get_the_ID(),'_cmb_service_image', true);
?>
<?php if(isset($logistek_redux_demo['blog_image']['url']) && $logistek_redux_demo['blog_image']['url'] != ''){?>
<section class="page-title-section" style="background-color: #f8f8f8;
background-image: url(<?php echo esc_url($logistek_redux_demo['blog_image']['url']);?>);
color: #fff;">
<?php }else{?>
<section class="page-title-section" style="background-color: #f8f8f8;
background-image: url(<?php echo get_template_directory_uri();?>/assets/images/bg/page-title-bg.jpg);
color: #fff;">
<?php } ?>
<div class="container">
<div class="row">
<div class="col-xl-12 text-center">
<div class="page-title-content">
<h3 class="title text-white"><?php the_title(); ?></h3>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?php echo esc_url(home_url('/')); ?>"><?php echo esc_html__( 'Home', 'logistek' );?></a></li>
<li class="breadcrumb-item active" aria-current="page"><?php the_title(); ?></li>
</ol>
</nav>
</div>
</div>
</div>
</div>
</section>
<!-- Page Title End -->
<!-- Service Details Section Start -->
<section class="service-details-page pdt-110 pdb-90 background1">
<div class="container">
<div class="row">
<div class="col-xl-4 col-lg-5">
<?php get_sidebar('service');?>
</div>
<div class="col-xl-8 col-lg-7">
<div class="service-detail-text">
<div class="blog-standared-img slider-blog mrb-35">
<img class="img-full" src="<?php echo wp_get_attachment_url($service_image);?>" alt="">
</div>
<?php echo $content1 ;?>
</div>
</div>
</div>
</div>
</section>
<?php endwhile; ?>
<?php
get_footer();
?>