Disable all comments

You can easily disable comments on all posts by using this MYSQL snippet in you database. This method of doing it saves you a lot of time not having to go through every post an manually disable it.

Code Snippet:

// Disable all comments
UPDATE wp_posts SET comment_status = 'closed', ping_status = 'closed';

// Enable all comments
UPDATE wp_posts SET comment_status = 'open', ping_status = 'open';

Posted in Social