Forums

[resolved] Want Comments on Pages as well as Posts (5 posts)

  1. bobover3
    Member
    Posted 1 year ago #

    I use Woo's The Morning After theme.

    I've checked the general theme box to accept comments on both posts and pages.

    I've checked the theme box to accept comments for each individual page.

    Nonetheless, my posts accept comments, but my pages do not.

    What can I do to get the comments form to appear on pages as well as posts?

    Suggestions gratefully accepted.

  2. randinicole
    Member
    Posted 1 year ago #

    Make sure that your page.php file has the php (comment) code that the single.php file has. It should look something like this

    <div id="comments">
    		<?php comments_template(); ?>
    	</div>
  3. bobover3
    Member
    Posted 1 year ago #

    Thanks for replying!

    Please excuse my total ignorance, but when you say "page.php file" do you mean the HTML file for an individual page, or do you mean some central theme file? What is the "single.php" file? Is there any special place in the file that the comment code needs to be?

    Sorry again for being so dense, but you're saving my life. Thanks!

  4. obharath
    Member
    Posted 1 year ago #

    Hi, page.php and single.php can be found in your theme folder. In your case it will be themorningafter.

  5. bobover3
    Member
    Posted 1 year ago #

    It worked!! Woo-hoo! Thank you Randinicole! Thank you Obharath!

    I was going crazy over this for days. You're life-savers.

Topic Closed

This topic has been closed to new replies.

About this Topic