Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Use PHP's alternative syntax for clearer WordPress templates. For more info see's-alternative-syntax-for-clearer-wordpress-templates/
<div class="Main">
<?php if ( have_posts() ): ?>
<?php while ( have_posts() ): ?>
<?php the_post(); ?>
<div class="Post">
<?php endwhile; ?>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.