WordPress.org

Support

Support » Themes and Templates » Page Comments

Page Comments

  • I wanted to use a different template for tutorials than the one I use for my front page and I can do that by using the page template but is there a way for me to have comments for my Pages?

    Any help or links would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, you can have comments on Pages. You just need to include the tag for the comments template in the Page template.

    <?php comments_template(); ?>

    Hey Demee! Fancy catching you here. For pages, you can actually create your own templates. Just make sure you add this part at the very top.

    <?php
    /*
    Template Name: Currently Template
    */
    ?>

    Code it as you wish, and just like when you plug in the comments section in the Post view, insert

    <?php comments_template(); ?>

    where needed. Comments will be added to the page just like on posts. Like so: http://never.eloquensa.net/read/in-the-shadow-of-the-ark/

    Hope that helps. 😉

    My theme has a Pages with Comments template I use for pages with comments.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page Comments’ is closed to new replies.