WordPress: Comments are closed (???)

My wife has a blog as well. And she’s get comments on hers (not jealous, not me *sigh*).

Problem was all her post said “Comments closed”. It couldn’t be solved with setting any “Discussion” settings, turning off all plugins. Nothing helped. So she called the resident geek.

After some searching, head-scratching and a lot of speed-reading on a Google-search. I found this topic on WordPress Support.

For me the gems here a bit down the page. A few SQL’s to change comment status.

I’m dumping the here so I don’t forget them:

  • Globally enable comments for all users:
    UPDATE wp_posts SET comment_status = ‘open’;
  • Globally disable comments for all users:
    UPDATE wp_posts SET comment_status = ‘closed’;
  • Globally enable comments for registered users only:
    UPDATE wp_posts SET comment_status = ‘registered_only’;
  • Globally enable pingbacks/trackbacks for all users:
    UPDATE wp_posts SET ping_status = ‘open’;
  • Globally disable pingbacks/trackbacks for all users:
    UPDATE wp_posts SET ping_status = ‘closed’;

Hope you find them useful as well.

This entry was posted in Software development. Bookmark the permalink.

Leave a Reply