J’ai trouver !!
1 Il faut ouvrir le fichier disqus.php qui ce trouve ici /wp-content/plugins/disqus-comment-system/disqus.php
2 Aller à la ligne 149 où vous trouverez ceci :
149 $replace = get_option(‘disqus_replace’);
150
151 if ( is_feed() ) { return false; }
152 if ( ‘draft’ == $post->post_status ) { return false; }
153 if ( !get_option(‘disqus_forum_url’) ) { return false; }
154 else if ( ‘all’ == $replace ) { return true; }
Et il faut ajouter ce code:
if ( ‘product’ == get_post_type() ) { return false; }
Ce qui donne:
149 $replace = get_option(‘disqus_replace’);
150
151 if ( ‘product’ == get_post_type() ) { return false; }
152 if ( is_feed() ) { return false; }
153 if ( ‘draft’ == $post->post_status ) { return false; }
154 if ( !get_option(‘disqus_forum_url’) ) { return false; }
155 else if ( ‘all’ == $replace ) { return true; }
Pour plus d’info.