WordPress.org

Ready to get started?Download WordPress

Forums

Page Comments (4 posts)

  1. Demulesca
    Member
    Posted 9 years ago #

    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.

  2. oriecat
    Member
    Posted 9 years ago #

    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(); ?>

  3. viitoria
    Member
    Posted 9 years ago #

    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. ;)

  4. Ajay
    Member
    Posted 9 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.