Support » Plugins and Hacks » Digg Digg » Digg Digg and Infinite Scroll

Digg Digg and Infinite Scroll

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there!

    First of all you have to edit dd-class.php in order to take off the <script> tag of each social network that you use (URL_API).

    Then you have to go on wordpress > options> infinite scroll and put some codes at Callback input.

    In my case, twitter and g+1:


    For facebook just use iframe option and should be ok.

    For pinterest I’m trying to figure out and soon I got the anwser I’ll post here.

    Good luck!

    Well, for pinterest you have to use the main js.
    <script src="//assets.pinterest.com/js/pinit_main.js" type="text/javascript"></script>

    and then force reload the script at Callback, since the function build its not “public”

    pinJs = $('script[src*="assets.pinterest.com/js/pinit_main.js"]');
    js = document.createElement('script');
    js.src = pinJs.attr('src');
    js.type = 'text/javascript';
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Digg Digg and Infinite Scroll’ is closed to new replies.