Forums

HELP! Comments box not showing up on Pages only. (6 posts)

  1. wnycarpool
    Member
    Posted 3 years ago #

    The comment box will be there for Postings; however not on the pages? help

  2. thx2012
    Member
    Posted 3 years ago #

    what was the solution?

  3. triffendesign
    Member
    Posted 3 years ago #

    It might be a template problem. Check this string out:

    http://wordpress.org/support/topic/204737

  4. pshero
    Member
    Posted 3 years ago #

    In many themes, the comment box isn't set to show on Pages, but it's scripted into page.php to display if you set a custom field in the page with a key of "comments".

    Although you don't need to mess with the code, I'll show it here in case you're wondering:

    <?php if ( get_post_custom_values('comments') ) comments_template() // Add a key value of "comments" to enable comments on this page ?>

    Open the page you want comments on in your WP Admin, scroll down to the Custom Fields area and expand it. Now in the "Key" box type the word "comments" and in the "Value" box type "comments" as well and then click the "Add Custom Field" button. Now save the page and test it in your browser.

  5. thisisedie
    Member
    Posted 3 years ago #

    Um. Just put this:

    <?php comments_template(); ?>

    in your page.php before <?php endwhile; else: ?>.

  6. rainforestrobin
    Member
    Posted 2 years ago #

    Can someone please be a bit more specific for us newbies. I have a wordpress.org blog and my commnet box was working 2 days ago I've done nothing to my site since and was just told the comment box has vanished.

    How do I bring it back?? And if you give me code, PLEASE tell me exactly where to put it. Do I go to comments.php?? OR where? And once on the right page where to do insert the new code in the html???

    Thank you much, hope someone can help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.