Display Recent Posts on Static Front Page


What is the best practice for displaying recent blog posts on a static front page?

I found an example from 5 years back that seems to work when added to my front-page.php, however, I’m not sure this is the best way? And for the life of me I can’t figure out how to format the post date with this code. It just spits out something that looks like 2014-04-02 11:07:36. Any input would be awesome. Thank you!

<div class="row">
      $args = array( 'numberposts' => '4' );
      $recent_posts = wp_get_recent_posts( $args );
      foreach( $recent_posts as $recent ){
          echo '
            <div class="col-md-3"

Use WP_Query http://codex.wordpress.org/Class_Reference/WP_Query

Thanks! Works like a charm!

In case it helps anyone else: