Skip to content

Instantly share code, notes, and snippets.

@mauricerenck
Last active January 23, 2017 11:14
Show Gist options
  • Save mauricerenck/dd13eee45a6eae80d17cbbe703f848f6 to your computer and use it in GitHub Desktop.
Save mauricerenck/dd13eee45a6eae80d17cbbe703f848f6 to your computer and use it in GitHub Desktop.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php endwhile; else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment