Simple wordpress data loop

<?php
if ( have_posts() ) :
   while ( have_posts() ) :
      the_post();
      //show loop content here (template tags, html, etc)
   endwhile;
endif;
?>

Enjoyed this post? Share it!