hello,
I want to use disqus for comments on my site, however, it seems wplms is using comments in the course pages to display voting and feedback of users. What can I do to avoid disqus from overwriting the comments that are being used on the course pages, that actually are not really comments...?
regards
This reply has been marked as private.
Im talking about reviews. How to maintain reviews and disqus at the same time on the site?
Well to remove disqus from custom post types please try using this:
add_filter( 'comments_template' , 'wpb_block_disqus', 1 );
function wpb_block_disqus($file) {
global $post;
if ( 'course' == $post->post_type)
remove_filter('comments_template', 'dsq_comments_template');
return $file;
}
paste in
wp-admin > Appearance > Editor > Customiser.php