Created
May 2, 2012 21:29
-
-
Save seanbehan/2580661 to your computer and use it in GitHub Desktop.
The Loop
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
<?php if(have_posts()): while(have_posts()): the_post(); ?> | |
<div class="<?php the_class(); ?>"> | |
<a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a> | |
<?php the_time(); ?> | |
<p><?php the_content(); ?></p> | |
</div> | |
<?php endwhile; endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment