Adding Comments to Wordpress Pages

Posted on February 11, 2009 



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.


Filed Under Blogger Indonesia   Tags: pages comments, wordpress tutorial


Subscribe Blogger Indonesia by Email through Feedburner or Feedblitz newsletter!!







Comments










RSS feed | Trackback URI

What Do You Think?

13 Comments »

Comment by ipanks
2009-02-11 09:18:27

allow me to save that source.thank you

 
Comment by sigit arinto
2009-02-11 17:06:59

thanks for the useful info :)

 
Comment by sigit arinto
2009-02-11 17:08:34

Why sometimes my comment is not appear ?

 
Comment by denologis
2009-02-12 02:52:24

hohoho, this tips is very good, thanks! :)

 
Comment by orb "Ofa Ragil Boy"
2009-02-12 09:54:59

mas kalo wordpress.com gmn
saya pake nya itu

makasih mas ya

 
Comment by karim
2009-02-12 10:07:44

thanks for your info…

 
Comment by KaLuLa
2009-02-13 08:28:29

kalo yg pake wordpress.com kayanya bisa deh, kan langsung keupdate versi 2.7 bener begitu ya mas fatih?

#iya bener.

 
Comment by Arya
2009-02-15 12:48:12

I have to a problem to upgrade my WP from 2.6 to 2.7 without download, is it a bridge to do this ?

 
Comment by jennk
2009-03-15 20:45:10

Thank you! That is all.

 
Comment by Haris
2010-01-14 12:14:20

Thanks a lot. So why my guestbook page doesn’t have the Comment field. I can fix that now.

 
Your Name: (required)
Your E-mail: (required - never shown publicly)
Website:
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
Comments are welcome in the following languages: English, Arabic, Bahasa Indonesia, Boso Jowo and Cak Madureh. A link within a comment will make it automatically moderated.

Blog Responses to this post: