Created
August 10, 2010 20:23
-
-
Save mowen/517925 to your computer and use it in GitHub Desktop.
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 get_header(); ?> | |
<div id="coreContent" class="hfeed"> | |
<?php if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<div class="post hentry"> | |
<?php the_date('F j, Y', '<h5 class="postDate"><abbr class="published">','</abbr></h5>'); ?> | |
<div class="postContent"> | |
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3> | |
<!-- <h4 class="vcard author">by <span class="fn"><?php the_author(); ?></span></h4> --> | |
<div class="entry-content"> | |
<?php the_content('Read the rest of this entry »'); ?> | |
</div> | |
</div> | |
<div class="postMeta"> | |
<?php if ('closed' == $post->comment_status) : ?> | |
<div class="comments closed"> | |
<?php else : ?> | |
<div class="comments"> | |
<?php endif; ?> | |
<?php comments_popup_link('leave a comment', '1 comment', '% comments', '', 'comments closed'); ?> | |
</div> | |
</div> | |
</div> | |
<?php endwhile; ?> | |
<div class="pageNav"> | |
<div class="prev"><?php next_posts_link('« Older') ?></div> | |
<div class="next"><?php previous_posts_link('Newer »') ?></div> | |
</div> | |
<?php else : ?> | |
<h2>Not Found</h2> | |
<p>Sorry, but you are looking for something that isn't here.</p> | |
<?php endif; ?> | |
</div> | |
<?php get_footer(); ?> |
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 get_header(); ?> | |
<div id="coreContent"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
<div class="post hentry single" id="post-<?php the_ID(); ?>"> | |
<div class="postContent"> | |
<h2 class="entry-title"><?php the_title(); ?></h2> | |
<div class="entry-content"> | |
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> | |
</div> | |
</div> | |
</div> | |
<?php comments_template(); ?> | |
<?php endwhile; endif; ?> | |
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment