Adding Comments to Wordpress Pages

Wordpress version 2.7 has by default automatically enables / allows Comments for both Posts and Pages. However, not all wordpress theme supports Comments for wordpress Pages.

If such case happens to your self-hosted wordpress blog theme / templates, here how to fix it. This is for Wordpress 2.7 and above (apart from point no. 1) it can be for wordpress 2.6 and below as well).

1. After login to your self-hosted wordpress -> Appearance -> Editor

2. Click Page.php (Page template)

3. Put the following code BEFORE this code <?php endwhile; else: ?>

<?php comments_template(); ?>

4. Click Update File. Done.

Notes

After allowing Comments on all of your Pages, You may want to disable it on some Pages. Here’s how to do it:

1. After login, click Pages

2. Click “Edit” on a Page you want the Comments to disable e.g. click Edit on “About”

3. On “Disscussion” located at the bottom, uncheck the “Allow Comments” and “Allow Pings”

4. Click “Update Page”. Done.