File: //home/madepabj/xpresscleaningservices.com/wp-content/themes/cleeny/single-em_case_study.php
<?php
/**
* Standard blog single page
*
*/
get_header();
cleeny_signle_case_breadcrumb(); ?>
<!-- BLOG AREA START -->
<div class="cleeny-blog-area cleeny-blog-single single-blog-details">
<div class="container">
<div class="row">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php $portdesc = get_post_meta(get_the_ID(), '_cleeny_portdesc', true);
$pgellaryu = get_post_meta(get_the_ID(), '_cleeny_pgellaryu', true);
$discrip = get_post_meta(get_the_ID(), '_cleeny_casedescip', true);
if (isset($pgellaryu) && !empty($pgellaryu)) { ?>
<div class="col-md-6">
<div class="pimgs">
<div class="single_gallery owl-carousel curosel-style">
<?php
cleeny_slider_o('_cleeny_pgellaryu', 'full');
?>
</div>
</div>
</div>
<div class="col-md-6 col-sm-12 col-xs-12 blog-lr">
<div class="portfolio-content portfolio-details-box">
<div class="pr-title">
<h2><?php the_title(); ?></h2>
<< /div>
<div class="prots-content">
<?php the_content(); ?>
</div>
</div>
</div>
<div class="col-md-12 col-sm-12 col-xs-12 blog-lr">
<div class="portfolio-content portfolio-details-box">
<div class="prots-content">
<?php
echo wp_kses($portdesc, array(
'blockquote' => array(),
'a' => array(
'href' => array(),
'title' => array()
),
'h1' => array(),
'h1' => array(),
'h3' => array(),
'b' => array(),
'p' => array(),
'strong' => array(),
'em' => array(),
'br' => array(),
));
?>
</div>
</div>
</div>
<?php } else { ?>
<div class="portfolio_details">
<div class="col-md-6 col-sm-12 col-xs-12 blog-lr">
<div class="pimgs">
<?php the_post_thumbnail('cleeny-single-portfolio'); ?>
</div>
</div>
<div class="col-md-6 col-sm-12 col-xs-12 blog-lr">
<div class="portfolio-content portfolio-details-box">
<div class="portfolio_info">
<?php the_content(); ?>
</div>
</div>
</div>
</div>
<div class="col-md-12 col-sm-12 col-xs-12 blog-lr">
<div class="pr-title">
<h2><?php the_title(); ?></h2>
</div>
<div class="portfolio-content portfolio-details-box">
<div class="prots-contentg">
<?php
echo wp_kses($portdesc, array(
'blockquote' => array(),
'a' => array(
'href' => array(),
'title' => array()
),
'span' => array(),
'h1' => array(),
'h1' => array(),
'h3' => array(),
'b' => array(),
'p' => array(),
'strong' => array(),
'em' => array(),
'br' => array(),
));
?>
</div>
<p class="description"><?php
echo wp_kses($discrip, array(
'blockquote' => array(),
'a' => array(
'href' => array(),
'title' => array()
),
'span' => array(),
'h1' => array(),
'h1' => array(),
'h3' => array(),
'b' => array(),
'p' => array(),
'strong' => array(),
'em' => array(),
'br' => array(),
));
?></p>
</div>
</div>
<?php } ?>
<?php endwhile; // while has_post();
?>
<?php endif; // if has_post()
?>
</div>
</div>
</div>
<!-- END BLOG AREA START -->
<?php
get_footer();