Last active
August 29, 2015 14:07
-
-
Save kevinwhoffman/07c609f7add449efcbdc to your computer and use it in GitHub Desktop.
WordPress - Loop within csswizardry-grids
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="grid"> | |
<!-- | |
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?> | |
--><div class="grid__item"> | |
<!-- do stuff --> | |
</div><!-- | |
<?php endwhile; wp_reset_query(); ?> | |
--> | |
</div><!-- /.grid --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment