WordPress Tip: Allow comments on this post by default
Posted by Dan | Posted in MySQL, WordPress | Posted on 10-05-2009
0
Being tired of checking the “Allow comments on this post” checkbox every time I make a new post, I went into the database and changed the setting. By default, it’s set to “closed” meaning you have to check it all the time. See for yourself:
1 2 | select option_name, option_value from wp_options where option_name in ( 'default_comment_status' ); |
Change it to “open”:
1 2 3 | update wp_options set option_value='open' where option_name in('default_comment_status'); |
Now the checkbox should always be checked.
























