How to enable comments on Wordpress Pages

Some WordPress themes come with the comments feature enabled on pages.  WordPress theme, WP-Andreas09,  is a good theme that has this feature enabled right out of the download file.  Though its a good theme, I do not like it because its code templates are not easy to modify.

My Revolution WordPress theme came without the comments feature for the pages.  I like this WordPress theme because its code templates are clean and easy to modify.

I found the code, posted by pramod, for enabling comments here and its pasted below.

Locate following code in page.php [template file]

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php endwhile; endif; ?>

In between these lines add following:

<?php comments_template(); ?>

I had to play around with the placement of the code, but it works fine for my theme.

4 comments to How to enable comments on WordPress Pages

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>