WordPress.org

Ready to get started?Download WordPress

Forums

Can't add comments in pages (3 posts)

  1. saratahir
    Member
    Posted 5 years ago #

    While comments work on all my posts on my main page,I can't get comments to work on other pages. I have enabled comments on all pages and despite that comments cannot be made. Ideas?

  2. cipote
    Member
    Posted 5 years ago #

    Perhaps the particular theme you are using does not include the code for comments in the pages file? Take a look at the single post (single.php) file and compare it to the page template file (page.php).

  3. kckal
    Member
    Posted 5 years ago #

    cipote,
    this worked for me.
    added this to page.php:

    <div class="commentsblock">
    <?php comments_template(); ?>
    </div>

    done!

    thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic