• peiqinglong

    (@peiqinglong)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • mylagoon

    (@mylagoon)

    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.

    Thread Starter peiqinglong

    (@peiqinglong)

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

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Commenting on Pages’ is closed to new replies.