Support » Plugin: Jetpack by » Infinite scroll break the loading of some buttons

  • Hello, the problem happens in the multi post pages. For example on tags and categories pages.

    For example this one.

    As you can see after the content of every post there are social buttons in a light blue background.

    However if we load other/older posts via infinite scroll, we can see that these buttons do not show anymore.

    Could you please help?

Viewing 15 replies - 16 through 30 (of 36 total)
  • so if I just replace this jquery file with the new one everything should work fine, or it may break something?

    Plugin Author Jeremy Herve


    You can follow the recommendations here to find out how to enqueue jQuery properly:

    Not sure if I did well.

    Even if I replace

    <script src=””></script>


    if( !is_admin() ){
    wp_register_script(‘jquery’, (“”), false, ”);
    } ?>

    it doesn’t resolve the problem with the pinterest button…
    do you see any errors?

    And in addition it breaks the infinite scrolling 🙁
    So I reverted back to

    <script src=””></script>


    I’ve also tried to change the href link in the header to: <script src=""></script> but it also doesn’t make it work….

    Plugin Author Jeremy Herve


    You can remove all this code, and only use wp_enqueue_script('jquery'); to enqueue the version of jQuery that is currently bundled to your WordPress installation.

    Hmm, it looks like there are two jquerys in my site.

    I have commented this:

    <!–<script src=””></script>–>

    But as you can see from the site, there is now a newer jquery in the header, that WP adds automatically.:

    <script type=’text/javascript’ src=’′></script>

    and if I check the header.php there is nothing about that. I see only:

    <?php wp_head();?>

    So few questions:

    1. If I leave the above commented, the old jquery should be disabled?
    2. Is it safe to comment/delete the above and leave the one that WP is adding automatically?
    3. Why WP is adding the new jQuery automatically in the header, and other people have to use the enqueue??
    4. Even if I leave the jQuery v1.7.2 that WP adds automatically, the pinterest button is still broken.

    P.s. I have disabled temporarily the minify, so that the code is better readable.

    Plugin Author Jeremy Herve


    But as you can see from the site, there is now a newer jquery in the header, that WP adds automatically.

    That’s the version of jQuery that comes bundled with WordPress, so it’s perfectly ok to leave it there.

    WordPress will automatically enqueue jQuery if your theme of one of your plugins requires it, and will only enqueue it once. That’s the benefit of using wp_enqueue_script.

    Even if I leave the jQuery v1.7.2 that WP adds automatically, the pinterest button is still broken.

    The Pinterest button works on my end:

    Could you try to clear your browser cache, and see if that helps?

    My pinterest buttons work at first loading, however the pinterest button that appear in the bottom thanks to infinite scrolling are broken.

    I am trying with Chrome incognito mode, FF, different computers, etc. So it looks like it’s not a cache issue 🙁

    Plugin Author Jeremy Herve


    I noticed another Javascript error on your site. Could you locate this line:

    <script src=""></script>

    it’s currently loaded before the wp_head call, thus before jQuery. Could you place it after the wp_head function?

    If you still experience issues with the Pinterest button, could you update to the latest version of WordPress?

    Still the same, I’ll try to upgrade WP and let you know.

    Hi, I have done the following:

    -updated WP to 3.5.1
    -checked if the pinterest button works – it does not
    -I have disabled ALL the plugins but jetpack
    -I can see that the pinterest button is still broken
    -I have tried in other browsers, using incognito and invisible mode, deleting cache and cookies, but still the same
    -re-enabled all the other plugins

    what can we do now to repair the pinterest button?

    Plugin Author Jeremy Herve


    Could you try to switch to a different theme like Twenty Twelve for a few minutes, to make sure the problem is not linked to your theme?


    If I switch the theme will all my widgets come back to their places when I will switch back, or they may be lost?


    Plugin Author Jeremy Herve


    They won’t be lost, but you might have to drag them back from the “Inactive Widgets” area (at the bottom of the Widgets page) to your sidebar.

    Hi, I did it. Unfortunately with twenty twelve there is the same problem.

    Please take a look here:

    Plugin Author Jeremy Herve


    Thanks for the test. I was also able to reproduce the issue on a test blog.

    We’ll have a closer look at the issue, and I’ll get back to you as soon as this can be fixed.

Viewing 15 replies - 16 through 30 (of 36 total)
  • The topic ‘Infinite scroll break the loading of some buttons’ is closed to new replies.