Disqus on course pages

Home Forums Legacy Support Support queries Setup issues Disqus on course pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #193435
    fwu
    Participant
    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
    #193436
    fwu
    Participant
    This reply has been marked as private.
    #193442
    fwu
    Participant
    Im talking about reviews. How to maintain reviews and disqus at the same time on the site?
    #193615
    Ava
    Member
    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
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Disqus on course pages’ is closed to new replies.