Last active
December 12, 2015 03:28
-
-
Save rajeevedmonds/4707273 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="post-content"> | |
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?> | |
<div class="post"> | |
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> | |
<div class="entry"> | |
<?php the_post_thumbnail(); ?> | |
<?php the_content(); ?> | |
<p class="postmetadata"> | |
<?php _e('Filed under:'); ?> <?php the_category(', ') ?> <?php _e('by'); ?> <?php the_author(); ?><br /> | |
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', ' | ', ''); ?> | |
</p> | |
</div> | |
<!-- Addition of comment system to the single post page --> | |
<div class="comments-wrapper"> | |
<?php comments_template(); ?> | |
</div> | |
</div> | |
<?php endwhile; ?> | |
<!-- Navigation links for previous and next post --> | |
<div class="blog-pager"> | |
<?php previous_post_link('< %link') ?> <?php next_post_link(' %link >') ?> | |
</div> | |
<?php endif; ?> | |
</div> | |
<?php get_sidebar(); ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment