Forums

no comments on pages ? (11 posts)

  1. wbme
    Member
    Posted 4 years ago #

    hi,
    i have a question.
    I made our wedding page using wordpress and the elegant grunge theme.
    I just found out, that you cannot comment on pages, only on posts!

    i was looking through the index.php and posts.php to get a clue, where I might add the comment feature,... but I got no wiser ...

    any hint, suggestion etc?

    the idea behind it, is that i like to get some responses on our wedding information and not only comments on our blog entries....
    http://www.buergel.at

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Add the following line to your page.php template where you wish to display the comment box:

    <?php comments_template(); ?>

  3. wbme
    Member
    Posted 4 years ago #

    thanks for the hint.
    just adding the line does not make it work yet, but I have a clue.
    so far only "comments are closed" is shown.
    (but they are not.)

  4. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Compare page.php with single.php. That should help you figure out what needs adding and where.

  5. wbme
    Member
    Posted 4 years ago #

    thanks, I did compare the two php files...
    after trying out the<?php comments_template(); ?> at differents parts. The comments are always closed. It somehow worked out now, after I changed the settings for discussion and the pages a few times.
    anyway thanks for the hint.

  6. tywerx
    Member
    Posted 3 years ago #

    Hey

    I've got same problem. No comments will show even though I've got folks commenting.

    I've put this <?php comments_template(); ?> in a variety of locations
    in my page.php, i've compared my page.php with my single.php and nothing stands out.

    what am I missing?

    Any help would be appreciated.
    Thanks
    Ty

    http://www.markgrowden.org/blog

  7. tywerx
    Member
    Posted 3 years ago #

    Help.

    Still stuck. I've wore out google looking for the answer.

    I just can't figure it out on my own.

    Thanks
    Ty

  8. muymalestado
    Member
    Posted 3 years ago #

    Is it necessary to create and add a custom field "comments" on each page where they are wanted and to give that a value of "1"?

  9. tywerx
    Member
    Posted 3 years ago #

    Thanks for posting Muy but I'm afraid I don't get it.

    I've added <?php comments_template(); ?> in a variety of places.
    It not only doesn't work but it changes the layout of the Elegant Grunge theme.

    Is this what you're talking about?

    Thanks again

    Ty

  10. tywerx
    Member
    Posted 3 years ago #

    I think I figured out what you ment.

    I went to my main page post. Added a custom field under one of the posts.
    Added a comment.

    What happens next, I'll go to the comment (the small print: 1 Comment under the post)
    and it takes me to a whole other page in which the background turns to a
    dark grey with the white comment box but no comment appears.

    I'm going out of my mind with this. It's been a good month of me trying to figure it out on my own.

    Why?

    Thanks
    Ty

  11. tywerx
    Member
    Posted 3 years ago #

    I installed this plugin and my comments work.

    http://wordpress.org/extend/plugins/paged-comments/

Topic Closed

This topic has been closed to new replies.

About this Topic