If you are using the Disqus comment system for displaying comments on your website or blog, it surely must be familiar with the functionality it provides. If you want to disable it on the custom post types on your website or blog, then this tip will help you do that.
You just insert the following code into your functions.php file (located in the theme folder you are using).
Code:
add_filter( 'comments_template' , 'wpb_block_disqus', 1 );
function wpb_block_disqus($file) {
if ( 'custom_post_type_name' == get_post_type() )
remove_filter('comments_template', 'dsq_comments_template');
return $file;
}
In the code above, you remember to change the name of the custom post type custom_post_type_name that you want to disable the display on it flashed Disqus.
With simple tips, you can better manage your website or blog running on their WordPress platform.