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

<?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; ?>
