Comments box not appearing on WordPress theme pages

Comments box not appearing on WordPress theme pages

Sometimes when you have migrated from an old theme to a new theme for your WordPress blog, you suddenly observe that all the comments on pages alone have disappeared and there is no option to add more comments. Also, at times when you are building a blog with a new theme, you might observe that especially pages do not have a comments section.

Fix: How to enable comments on your WordPress theme for pages

The reason the comments section are not appearing on the pages are because your theme is not enabled to do that. All you need to do is to add the below snippet line of code in your theme’s page.php file.

<?php comments_template(); ?>

Steps to make the change in your theme files

  • Login to your WP admin dashboard
  • Click on Appearances -> themes -> editor
  • Edit page.php


<?php comments_template(); ?>

 Immediately after the below line

<?php the_content(‘<p>Read the rest of this page &raquo;’); ?>

 The above steps will surely fix the issue and on refreshing your pages, you will observe that the options for adding comments are already there. Let me know if you have any questions on the same.

About the author

Orangec Copper

Founder of OrangeCopper Webmaster Networks, also writes for the latest Launch - HippieMonk Tech & LifeStyle Blog! Stay tuned to the Orangecopper Network of websites at our network page.

Readers Comments (8)

  1. Patio Heaters 15 May, 2012 @ 7:59 pm

    I like this blog with good ideas.

  2. Its very interesting and superb post

  3. simple, informative and important for me, really thanks .

    i like those kind of posts that really helps and talking about the important things….

  4. Wordpress Website De 30 May, 2012 @ 8:36 pm

    Thanks for providing us such an interesting. It is really helpful.

  5. cv örnekleri 30 May, 2012 @ 9:29 pm

    I like this blog with good.

  6. Paper cup making mac 12 June, 2012 @ 11:06 pm

    Nice blog. Thanks for sharing those useful information's in all categories.

  7. I made little mistakes on this but after reading your post I must fix it and now there is no chance of mistake anymore.

  8. Thanks. Good article. I Like this blog.


Leave a comment

Your email address will not be published.


14 − 9 =