Support » Themes and Templates » Need code for inserting comments in pages

  • Resolved raygene

    (@raygene)


    Hi,

    I would like to have the comment box on pages, as seen on the WP Classic theme.

    Is there code which can be inserted in any theme which would allow for comments? I’m now using the Coffee Stained 1.0 by Camden Bucey.

    Thanks,
    Gene

Viewing 3 replies - 1 through 3 (of 3 total)
  • <?php comments_template(); ?> calls the comment template. Study the differences between single.php and page.php in your theme to see the subtle difference.

    Thanks LenK,

    So, if I get you correctly, all I need to do is insert (or modify) <?php comments_template(); ?> in the theme’s page.php?

    Cheers,
    Gene

    OK, took a chance and looked at both single (which didn’t have the function) and inserted it. It now works great.

    You may see it here, in the About page

    Thanks again!
    Gene

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need code for inserting comments in pages’ is closed to new replies.