WordPress.org

Ready to get started?Download WordPress

Forums

Commenting on Pages (3 posts)

  1. peiqinglong
    Member
    Posted 8 years ago #

    Users should be able to comment on pages right? Cause I'm pretty sure I have the Allow Comments checked on the Pages I create, but yet no commenting box pops up. I'm running my own custom theme, but I checked on the standard default theme and it doesn't appear either. Do I need to add a line of code or am I just forgeting something?

    Thanks!

  2. mylagoon
    Member
    Posted 8 years ago #

    Yeah, you'll need to add a few lines of code. WordPress can handle comments on pages without any issues from memory.

    Copy the comments code from your post template over to your pages template where you want the comments to appear, and bingo you should be in business.

  3. peiqinglong
    Member
    Posted 8 years ago #

    Oh cool! I added <?php comments_template(); // Get wp-comments.php template ?> to my page.php template and it works perfectly. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.