Current File : /home/quantums/durdanatariq.com/wp-content/themes/durdana/single.php |
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
get_header();
?>
<?php
/* Start the Loop */
while ( have_posts() ) :
the_post();
$image = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'single-post-thumbnail' );
if($image !="") {?>
<!-- <section class="featured-row">
<div class="container">
<div class="row">
<div class="inner-top-brand">
<img src="https://www.yasirkhan.co/wp-content/uploads/2019/02/video-yasir.jpg">
</div>
</div>
</div>
</section> -->
<?php } ?>
<section class="inner-banner" style="background-image: url(http://durdanatariq.com/wp-content/uploads/2019/03/BLOG.jpg);">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="inner-heading text-center">
<h2 class="tm-h2"> <?php the_title();?> </h2>
<!-- <h4> Here are the results my clients are seeing… </h4> -->
</div>
</div>
</div>
</div>
</section>
<section class="about-row custom-row">
<div class="container">
<div class="row">
<div class="col-md-9">
<img src ="<?php echo $image[0];?>" class="img-responsive img-fluid blog-image" />
<?php the_content();?>
<div class="blog_comment_font">
<?php comment_form(); ?>
</div>
</div>
<div class="col-md-3">
<div class="sidebar">
<?php dynamic_sidebar('page-sidebar');?>
</div>
</div>
</div>
</div>
</section>
<?php
endwhile; // End of the loop.
?>
<?php
get_footer();