• 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?
    Thanks

    http://wordpress.org/extend/plugins/jetpack/

Viewing 15 replies - 16 through 30 (of 36 total)
  • Thread Starter utnalove

    (@utnalove)

    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

    (@jeherve)

    Jetpack Mechanic 🚀

    You can follow the recommendations here to find out how to enqueue jQuery properly:
    http://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Thread Starter utnalove

    (@utnalove)

    Not sure if I did well.

    Even if I replace

    <script src=”http://glamourina.pl/wp-content/themes/celebritypress5/js/jquery.min.js”></script&gt;

    with

    <?php
    if( !is_admin() ){
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’, (“http://code.jquery.com/jquery-latest.min.js&#8221;), false, ”);
    wp_enqueue_script(‘jquery’);
    } ?>

    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=”http://glamourina.pl/wp-content/themes/celebritypress5/js/jquery.min.js”></script&gt;

    ================

    I’ve also tried to change the href link in the header to: <script src="http://code.jquery.com/jquery-latest.min.js"></script> but it also doesn’t make it work….

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    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.

    Thread Starter utnalove

    (@utnalove)

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

    I have commented this:

    <!–<script src=”http://glamourina.pl/wp-content/themes/celebritypress5/js/jquery.min.js”></script>–&gt;

    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=’http://glamourina.pl/wp-includes/js/jquery/jquery.js?ver=1.7.2′></script&gt;

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

    <?php wp_head();?>
    </head>
    <body>

    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

    (@jeherve)

    Jetpack Mechanic 🚀

    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:
    http://i.wpne.ws/NlFC

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

    Thread Starter utnalove

    (@utnalove)

    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

    (@jeherve)

    Jetpack Mechanic 🚀

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

    <script src="http://glamourina.pl/wp-content/themes/celebritypress5/js/jquery.aw-showcase.js"></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?

    Thread Starter utnalove

    (@utnalove)

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

    Thread Starter utnalove

    (@utnalove)

    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

    (@jeherve)

    Jetpack Mechanic 🚀

    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?

    Thanks!

    Thread Starter utnalove

    (@utnalove)

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

    Thanks

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    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.

    Thread Starter utnalove

    (@utnalove)

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

    Please take a look here:
    http://img854.imageshack.us/img854/1516/2012pt.png

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    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.