• Testerossa

    (@testerossa)


    Hi and thank you for the great plugin! Unfortunately, today, I installed the Disqus commenting plugin, and now it seems the slideviewer does not work correctly. Very strangely, it adds an unnecessary extra slide that now loads with the following text:

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

    [Moderator Note: Please post code & markup between backticks or use the code button (not blockquote). Your posted code may now have been permanently damaged by the forum’s parser.]

    I don’t know why it’s loading this code, instead of the regular picture and excerpt like usual. Any help resolving this issue would be great, thank you!

    https://wordpress.org/plugins/advanced-post-slider/

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

    (@testerossa)

    Oh and I also thought I should mention, if you’ve never heard of it before, Disqus is actually a pretty popular comment system, and their WordPress plugin is used on some fairly big websites (like IGN). The Advanced Post Slider might better be available to the public if it was compatible with some of the more popular plugins like Disqus, unfortunately if I can’t get it to work I’m going to have to look for a different slide-viewer, which is unfortunate since the Advanced Post Slider works really well, if it wasn’t for the compatibility problems.

Viewing 1 replies (of 1 total)

The topic ‘Incompatible with Disqus?’ is closed to new replies.