If you only want to disable comments for certain FAQs, then open a post and see discussions box. There you can uncheck “Allow Comments”.[/vc_column_text][/vc_column][vc_column width=”1/2″][vcex_image overlay_style=”” image_id=”3863″ main_notice=””][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]You can also disable comments for all frequently asked question post types. Simply put the following code into your functions.php file.
function disable_comments_for_faq_post_types( $open, $post_id ) { $post_type = get_post_type( $post_id ); // disable comments for built-in "faq" post type if ( $post_type == 'faq' ) { return false; } // enable comments for any other post types return true; } add_filter( 'comments_open', 'disable_comments_for_faq_post_types', 10 , 2 );[/vc_column_text][/vc_column][/vc_row]