Adding Comments to WordPress Pages

It really annoyed me that my static pages didn’t have comments enabled, so I searched around and came up with a solution.

Open page.php

Before

<?php endwhile; ?>

Add

<?php if (("open" == $post->comment_status)) { comments_template(); } ?>

Related posts:

  1. Adding Buttons to your Interface Prerequisites You should have JDK installed and an integrated development environment you are comfortable with. The Idea In order for...
  2. Java Comments What is a comment? How do you use comments in Java? When should they be used? If you are wondering...

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.


2 Responses to “Adding Comments to WordPress Pages”

  1. John

    Glad you found it useful. :)

    Reply |

  2. amrosama

    thnx that was really useful

    Reply |