WordPress.org

Forums

Comments on Static Page (4 posts)

  1. BillRamby
    Member
    Posted 10 years ago #

    Ok, ID10T time. I've noticed that the classic theme allows comments on static pages. No other theme I've tried so far allows this. How is this enabled on themes where it's not present?

    Regards
    Bill R.

  2. moshu
    Member
    Posted 10 years ago #

    Didn't check it, just a guess...
    Probably the page template should have a call for the comments.php.

  3. lyklev
    Member
    Posted 10 years ago #

    I noticed it too. In page.php, add the following line, right under "edit_post_link..." on line 16:


    <?php comments_template(); ?>

    before the next div.

  4. BillRamby
    Member
    Posted 10 years ago #

    That did it. Thanks VERY much!

    Regards
    Bill R.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.