Saturday, November 14, 2015

PHP : Wordpress : Comments template not rendering

Somehow my new custom post type was not able to get the comments section. After debugging and looking for option found solution for this issue at WP Questions.

I just updated the wp_posts with below mentioned query:

UPDATE wp_posts SET comment_status = 'open' WHERE post_type = 'myposttype';
 And  it worked.