20 lines
525 B
PHP
20 lines
525 B
PHP
<?php
|
|
|
|
// content.PHP
|
|
?>
|
|
|
|
<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 -->
|
|
|
|
<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 -->
|