• Hi Guys,

    Hoping you can help me as I’m relatively new to WordPress.

    On our site, http://www.bachelor.ie we’ve just installed DISQUS plugin as the commenting system and we’ve noticed that there is code showing up on the slider on the front page.

    Any ideas what this is and how to fix it show that it’s not showing. Any help would be appreciated

Viewing 1 replies (of 1 total)
  • Thread Starter Jammi

    (@jammi)

    Just as an update, i figured it out and deleted the following in the php file and it worked:

    / <![CDATA[ var disqus_shortname = ”; (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.com/forums/’ + disqus_shortname + ‘/count.js’; (document.getElementsByTagName(‘HEAD’)[0] || document.getElementsByTagName(‘BODY’)[0]).appendChild(s); }()); //]]>

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with code showing in JQuery Slider after installing Disqus’ is closed to new replies.