• When I initially wrote my template files, I didn’t want to include comments on blog posts, so I deleted the <?php comments_template(); ?>. Now I have put it back in, but it doesn’t work – no comment form is displayed. Discussion settings are set to allow comments. How can I get the comment form back on my site?

    karminmusic.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Does your theme include a comments.php file?

    Thread Starter katemgilbert

    (@katemgilbert)

    @esmi – Yes, it does. And comments-popup.php. I have not made modifications to either of those files. I used the default Kubrick theme as my base.

    What template did you add <?php comments_template(); ?> to?

    Thread Starter katemgilbert

    (@katemgilbert)

    home.php

    Should I add it to a different template? Each of my pages has a unique page template, and the comments are only needed on home.php

    pabile

    (@pabile)

    <?php comments_template(); ?> should be in page.php and single.php as far as kubrick is concerned.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Comments template not working’ is closed to new replies.