Skip to content

Instantly share code, notes, and snippets.

@tomjn
Created August 2, 2013 19:29
Show Gist options
  • Save tomjn/6142710 to your computer and use it in GitHub Desktop.
Save tomjn/6142710 to your computer and use it in GitHub Desktop.
A classic standard main post loop
<?php
if ( have_posts() ) {
while( have_posts() ) {
the_post();
the_title();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment