WordPress.org

Ready to get started?Download WordPress

Forums

Disable comments (7 posts)

  1. golazo
    Member
    Posted 1 year ago #

    Hi,

    How can I disable comments? I have wordpress 3.6.1.

  2. Lorenzo Orlando Caum
    Member
    Posted 1 year ago #

    Hello, have you tried disabling the comment options in WP-admin --> Settings --> Discussion?

  3. golazo
    Member
    Posted 1 year ago #

    Yes, I uncheck all boxes, but, form remains in articles.

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Under each individual page/post click on QuickEdit and make sure "allow comments" is unchecked.

  5. golazo
    Member
    Posted 1 year ago #

    It's too much for 2000 - 3000 articles. Another solution? Maybe from php?

  6. WPyogi
    Forum Moderator
    Posted 1 year ago #

    Possibly :

    http://wordpress.org/plugins/search.php?q=disable+comments

    Or if you don't want comments anywhere, you could modify your theme using a child theme - and remove the comment code from the .php files.

  7. roiabrazaldo
    Member
    Posted 1 year ago #

    Hey, try this (though backup your database first)

    Go to your wordpress database
    Go to wp_post and execute this query

    UPDATE wp_posts SET comment_status= 'closed'
    WHERE post_type = 'post'

    after that, add this to your stylesheet

    .nocomment { display: none }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.