Skip to content

Instantly share code, notes, and snippets.

@mowen

mowen/footer.php

Created Aug 10, 2010
Embed
What would you like to do?
<?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 &raquo;'); ?>
</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('&laquo; Older') ?></div>
<div class="next"><?php previous_posts_link('Newer &raquo;') ?></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(); ?>
<?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 &raquo;</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
You can’t perform that action at this time.