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:

    gapi.plusone.go();
    
    twttr.widgets.load();

    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"]');
    pinJs.remove();
    js = document.createElement('script');
    js.src = pinJs.attr('src');
    js.type = 'text/javascript';
    document.body.appendChild(js);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Digg Digg and Infinite Scroll’ is closed to new replies.