Skip to content

Instantly share code, notes, and snippets.

@safranck
Created March 25, 2015 21:59
Show Gist options
  • Save safranck/4ddd5500e2dab6375e3c to your computer and use it in GitHub Desktop.
Save safranck/4ddd5500e2dab6375e3c to your computer and use it in GitHub Desktop.
WordPress The Loop
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
//
// Post Content here
//
} // end while
} // end if
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment