added comments div, cleaned up file
This commit is contained in:
parent
6d9a4195d8
commit
b2e7e05f2c
11
content.php
11
content.php
@ -6,13 +6,14 @@
|
||||
<div class="blog-post">
|
||||
<h2 class="blog-post-title"><a href="<?php the_permalink(); ?> "><?php the_title(); ?></a></h2>
|
||||
<p class="blog-post-meta"><?php the_date(); ?> by <?php the_author_link(); ?></p>
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
||||
</div><!-- /.blog-post -->
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
|
||||
<div class="blog-comments">
|
||||
<?php
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
?>
|
||||
?>
|
||||
</div> <!-- blog comments -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user