WordPress.org

Ready to get started?Download WordPress

Forums

cannot enable comments! (3 posts)

  1. boboboi
    Member
    Posted 4 years ago #

    Here is my problem: the site I am working on has been running for over a year now; many pages and posts have been added to the site. Recently my client has requested I add a new page and only allow comments to be made on that page and the posts within that page. However, after enabling comments by adding <?php comments_template(); ?> in my theme's page.php file every single page and post had the comment box activated. Fortunately this forum was able to help me deactivate comments for the entire site by using phpMyAdmin and running these two lines:

    UPDATE wp_posts SET comment_status='closed' WHERE post_status = 'publish' AND post_type = 'post';

    UPDATE wp_posts SET comment_status='closed' WHERE post_status = 'publish' AND post_type = 'page';

    I was then told I could individually check off "allow comments" for the individual posts I want. However, when I do that, the comment box still does not show up. Any help would be much appreciated!

  2. boboboi
    Member
    Posted 4 years ago #

    bump, does anyone have any idea what could be wrong?

  3. ecomod
    Member
    Posted 3 years ago #

    Another bump. I'm having this problem also. Only one post is affected, all others are commentable. I'm unable to enable the comment ability for that one post even though I did all of the above.

    I'm using WP 3.0.1.

    Help?

Topic Closed

This topic has been closed to new replies.

About this Topic