Current File : /home/kelaby89/sixpacksecurity.com.au/wp-content/themes/poket/single-em_service.php |
<?php
/**
* Standard blog single page
*
*/
get_header();
get_template_part( 'includes/header' , 'page-title' ); ?>
<!-- BLOG AREA START -->
<div class="poket-blog-area poket-blog-single single-blog-details">
<div class="container">
<div class="row">
<?php if( have_posts() ) : ?>
<?php while( have_posts() ) : the_post(); ?>
<?php
$infotitle = get_post_meta( get_the_ID(),'_txbdm_infotitle', true );
$protgroup = get_post_meta( get_the_ID(),'_txbdm_portgroup', true );
?>
<?php if(has_post_thumbnail()){?>
<div class="col-lg-7 col-md-6 col-sm-12 col-xs-12 blog-lr">
<div class="pimgs">
<?php the_post_thumbnail('poket-single-portfolio');?>
</div>
</div>
<div class="col-lg-5 col-md-6 col-sm-12 col-xs-12 blog-lr">
<div class="portfolio-content portfolio-details-box">
<div class="prots-contentg">
<?php if($infotitle){?>
<h2><?php echo esc_html($infotitle);?></h2>
<?php };?>
<ul>
<?php
if( $protgroup ){?>
<?php
foreach ( (array) $protgroup as $portgropd => $portgropss ){
$porttitle = $portdec ='';
if ( isset( $portgropss['_txbdm_pttitle'] ) ) {
$porttitle = $portgropss['_txbdm_pttitle'];
}
if ( isset( $portgropss['_txbdm_ptvalue'] ) ) {
$portdec = $portgropss['_txbdm_ptvalue'];
}?>
<li>
<b class="eleft"><?php echo esc_html( $porttitle );?></b>
<span class="eright">
<?php echo wp_kses( $portdec , array(
'a' => array(
'href' => array(),
'title' => array()
),
)); ?>
</span>
</li>
<?php }} ?>
</ul>
</div>
<div class="poket-blog-social">
<div class="poket-single-icon">
<?php
if( function_exists('twr_sitepage_sharing') ){
twr_sitepage_sharing();
}
?>
</div>
</div>
</div>
</div>
<?php } ?>
<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12 blog-lr">
<div class="portfolio-content portfolio-details-boxs">
<div class="pr-title"><h2><?php the_title();?></h2></div>
<div class="prots-contentg">
<?php the_content(); ?>
</div>
</div>
</div>
<?php endwhile; // while has_post(); ?>
<?php endif; // if has_post() ?>
</div>
</div>
</div>
<!-- END BLOG AREA START -->
<?php
get_footer();