Single Post Type Page
Fri Jun 17 2022 15:09:48 GMT+0000 (Coordinated Universal Time)
Saved by
@hamzahanif192
<?php get_header();
$postId = get_the_ID();
$slug = basename(get_permalink($postId));
?>
<style>
#innerBanner {background: #f4f4f4;width: 100%;padding: 120px 0 40px;}
.single-ourservice .main-page-wrapper .container {width: 100%;max-width: 100%;}
.single-ourservice .main-page-wrapper .singlePage_wrapper .container {max-width: 1372px !important;width: 100%;/* margin: 0 auto; */}
.singlePage_wrapper{ width:100%;}
#innerBanner h2 {text-align: center;color: #006d83;font-size: 55px; font-weight: 800;}
.breadcrumbs_single {display: flex;align-items: center;justify-content: center;}
#innerBanner p {margin: 0;}
</style>
<div class="singlePage_wrapper">
<section id="innerBanner">
<div class="container">
<h2><?php the_title(); ?></h2>
<div class="breadcrumbs_single">
<a href="<?php echo site_url(); ?>">Home</a>
<p>/ <?php the_title();?></p>
</div>
</section>
<section id="single_serviceContent">
<div class="container">
<div class="row">
<div class="col-md-6">
<?php the_post_thumbnail( 'full', array( 'class' => 'avatar' ) ); ?>
</div>
<div class="col-md-6">
<?php the_content(); ?>
</div>
</div>
</div>
</section>
</div>
<?php get_footer(); ?>
content_copyCOPY
Comments