Including Comments in Your Posts

September 18, 2007

I have had mixed messages about including comments with this theme. Some people want to use them since they have intentions on still using this as a blog theme, but others don’t want comments since they plan to use it as a newspaper site.

So I decided that the download wouldn’t include them, but I’m writing this tutorial to show you how to add them back into your theme files. All you need to do is open up your index.php file, and look for this line of code:

<p><?php _e('Sorry, no posts matched your criteria.'); ?></p><?php endif; ?>

Immediately after this line of code, add this:

<?php comments_template(); // Get wp-comments.php template ?>

Save the file, upload it back to your server and then your comments should appear under your posts!


Got something to say?