How to create a single page comment template with a custom post type in WordPress
2 answers
you can also use the following queries as per your need
UPDATE wp_posts SET comment_status='open' WHERE post_status = 'publish' AND post_type = 'blog';
UPDATE wp_posts SET comment_status='open' WHERE post_status = 'publish' AND post_type = 'blog';
UPDATE wp_posts SET ping_status='open' WHERE post_status = 'publish' AND post_type = 'blog';
UPDATE wp_posts SET ping_status='open' WHERE post_status = 'publish' AND post_type = 'blog';
+4
source to share