Current File : /home/quantums/durdanatariq.com/wp-content/themes/durdana/template-sidebar.php
<?php 



/* Template Name: Sidebar */ 



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' );



				?>



<section class="featured-row">

    <div class="container"> 

     <div class="row">

      <div class="inner-top-brand">

        <img src="<?php echo get_template_directory_uri(); ?>/images/cropped-website41-1.png">

      </div>

     </div>

    </div> 

  </section>   



  <section class="inner-banner" style="background-image: url(<?php echo $image[0] ?>);">

    <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"> 

        <?php the_content();?>

       

       </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();