WordPress.org

Ready to get started?Download WordPress

Forums

Disqus Comment System
DISQUS not working on WP 3.3.1 (6 posts)

  1. sushixuni
    Member
    Posted 2 years ago #

    // <![CDATA[ var disqus_shortname = 'littlegirltravels'; var disqus_domain = 'disqus.com'; (function () { var nodes = document.getElementsByTagName('span'); for (var i = 0, url; i < nodes.length; i++) { if (nodes[i].className.indexOf('dsq-postid') != -1) { nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('rel')); url = nodes[i].parentNode.href.split('#', 1); if (url.length == 1) { url = url[0]; } else { url = url[1]; } nodes[i].parentNode.href = url + '#disqus_thread'; } } var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = 'http://' + disqus_domain + '/forums/' + disqus_shortname + '/count.js'; (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }()); //]]>

    I get this message on my site: littlegirltravels at the photo carousel of my theme.

    I'm not sure why DISQUS doesn't show up at the comments section. However, the old WordPress comments are still there. I've already imported all existing comments from WordPress to DISQUS.

    http://wordpress.org/extend/plugins/disqus-comment-system/

  2. jasicom
    Member
    Posted 2 years ago #

    me too getting this on ma themes featuerd gallery area... wat is the matter with Mr Disqus?

  3. ThumNet
    Member
    Posted 2 years ago #

    For the Graphene theme we have a similar issue with Disqus in the slider. I've been looking into this, the problem is caused by the following:

    Disqus adds an action hook to loop_end.
    line 1152 of disqus.php - add_action('loop_end', 'dsq_loop_end');

    And when we output our slider we use WP_Query which triggers the loop_end action on the end.

    I have not yet found a solution :(

  4. Tyler Hayes
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi everybody,

    Kindly try enabling the "Comment Counts" checkbox under Advanced Options in the Disqus plugin and that should resolve this by outputting the Disqus JavaScript in the footer. Let us know if that doesn't work for you.

    Best,
    Tyler
    http://docs.disqus.com
    http://disqus.com/support

  5. sushixuni
    Member
    Posted 2 years ago #

    I've already managed to make Disqus work on my site. :)
    It was due to another plugin conflict.

    Thanks!

  6. ThumNet
    Member
    Posted 2 years ago #

    Thank you Tyler, this fixed the problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic