<?php require('./wp-blog-header.php'); ?>

    <section class="sixteen columns main-content">

      <div class="bannerad ad728">
        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
        <!-- BCDB 728 5/4/140 -->
          <ins class="adsbygoogle"
               style="display:inline-block;width:728px;height:90px"
               data-ad-client="ca-pub-4460186434212896"
               data-ad-slot="1925680212"></ins>
            <script>
              (adsbygoogle = window.adsbygoogle || []).push({});
            </script>
      </div>

      <div class="bannerad ad468">
        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
        <!-- NB_468_Bot -->
        <ins class="adsbygoogle"
             style="display:inline-block;width:468px;height:60px"
             data-ad-client="ca-pub-4460186434212896"
             data-ad-slot="9164414377"></ins>
        <script>
          (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
      </div>
    
      <div class="bannerad ad320">
        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
        <!-- NB_320_Bot -->
          <ins class="adsbygoogle"
               style="display:inline-block;width:320px;height:100px"
               data-ad-client="ca-pub-4460186434212896"
               data-ad-slot="1641147577"></ins>
        <script>
          (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
      </div>

      <div class="clearfix"></div>

    </section>

<?php
    $args = array( 'numberposts' => 6, 'post_status'=>"publish",'post_type'=>"post",'orderby'=>"post_date");
    $postslist = get_posts( $args ); ?>
 

<?php
    foreach ($postslist as $post) : setup_postdata($post); ?>
             <?php $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>
             <div class="blog-image"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail( 'single-post-thumbnail' ); ?></a></div>
             <div class="blog-text"><i class="fa fa-mail-forward fa-flip-vertical"></i> <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></div>
         <div class="clear clearfix"></div>

<?php endforeach; ?>
