Skip to content

Instantly share code, notes, and snippets.

@alwayscoding
Created March 5, 2013 09:46
Show Gist options
  • Save alwayscoding/5089136 to your computer and use it in GitHub Desktop.
Save alwayscoding/5089136 to your computer and use it in GitHub Desktop.
WORDPRESS: LOOP
<?php get_header(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment