Forums

[resolved] no comments on Pages (3 posts)

  1. bjprc
    Member
    Posted 11 months ago #

    Using WP 2.7 with all updates. Theme is WordPress Default 1.6. In my two blogs I have the same problem: comments on normal Posts are all running well but while "comments" are all ticked to work on Pages, nothing comes up at the bottom as is the case in Posts. Seems the needed code is missing in the Template for Pages, but why then is there the option when writing the Page to have or not comments? Also missing is the author.
    I think this is a bug - as I use the Default theme. I am real scared to mess with the codes in the template... Any "safe" tips?
    I really need the comments feature on my blog (http://rotaryclub-beijing.org/) as we have many entries as "Pages".

  2. dbmartin
    Member
    Posted 11 months ago #

    If you're using the default page template, you can add this code:
    <?php comments_template(); ?>

    Right before this line in the page.php file.
    <?php endwhile; endif; ?>

    This will include your comment form on your Page.

  3. bjprc
    Member
    Posted 11 months ago #

    Hi dbmartin! Great, many thanks, with your clear explanation I had the courage to do it and it works! Greetings from Beijing!

Reply

You must log in to post.

About this Topic