WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "Allow Comments" on Pages (5 posts)

  1. Lysander
    Member
    Posted 7 years ago #

    First of all my WordPress weblog is here.

    On any Page I view on my weblog, whether I'm logged in or not- it doesn't display an "Add Comment" link beneath the Page text. Comments on Posts work fine, and on each Page I've made I always make sure the "Allow Comments" and "Allow Ping" options are turned on, however there is still no way to add a comment to any of the Pages, with any user-level. I've never had this working (I only installed WordPress a few days ago), so I'm not really sure if it's actually messing up or if it's supposed to be this way, however the existence of the "Allow Comments" option makes me think that something is going wrong. I've tried disabling all of my addons and it didn't help. I hope someone here has an idea about how to fix this.

  2. BPartch
    Member
    Posted 7 years ago #

    Hello

    You need to edit the page.php file (located in your active themes folder) to include the comments.php file (located in the same folder).

    Add: <?php comments_template(); ?> to the file at the end of "The_Loop" before the <?php endwhile; else: ?>

    Hope it helps. :)

  3. Lysander
    Member
    Posted 7 years ago #

    Worked beautifully ^_^. Thank you very much.

  4. dfradin
    Member
    Posted 6 years ago #

    I have done this and after the first comment is entered, the side bar disappears and none of the comments show. Just a notation that there has been "responses".

  5. scormeny
    Member
    Posted 6 years ago #

    dfradin, this is not a problem I'm having. I suspect, though, that your problem may come from something related to special formatting in the templates in your theme. I would suggest, if it's possible, testing another theme on your website (a very simple, standard one), and see if it works. If it does, then I think you've found that the problem comes from the templates. If it has, you may have a long road to fixing it depending on your familiarity with template code and php, but if you really want those comments on your pages, I think that's what you'll have to do.

    Best of luck!

Topic Closed

This topic has been closed to new replies.

About this Topic