added in comments section
This commit is contained in:
parent
c8bb789734
commit
28e157123a
10
content.php
10
content.php
@ -4,9 +4,15 @@
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="blog-post">
|
<div class="blog-post">
|
||||||
<h2 class="blog-post-title"><?php the_title(); ?></h2>
|
<h2 class="blog-post-title"><a href="<?php the_permalink(); ?> "><?php the_title(); ?></a></h2>
|
||||||
<p class="blog-post-meta"><?php the_date(); ?> by <a href="#"><?php the_author(); ?></a></p>
|
<p class="blog-post-meta"><?php the_date(); ?> by <?php the_author_link(); ?></p>
|
||||||
|
|
||||||
<?php the_content(); ?>
|
<?php the_content(); ?>
|
||||||
|
|
||||||
</div><!-- /.blog-post -->
|
</div><!-- /.blog-post -->
|
||||||
|
<?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;
|
||||||
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user