WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
Sociable plugin breaks with Infinite-Scroll 2.6 (15 posts)

  1. reefnet
    Member
    Posted 1 year ago #

    Hi!

    I just updated to Infinite-Scroll 2.6 (from 2.5?.. I originally downloaded it just a few days ago), and noticed that the Twitter and G+ icons (which the Sociable plugin puts after each post) are only being displayed on the first visible posts. When Infinite-Scroll kicks in, the FB icon appears fine, but the Twitter icon is just a text link, and the G+ icon has disappeared.

    Here's the site: http://www.keriwilk.com

    I'm using the Genesis framework with the Outreach theme.

    Is it possible to have the previous version sent to me? It seemed to be working perfectly for my purposes (very basic). Let me know if you've got any suggestions on how to get this up and running again, or if you know of any sociable media link plugins that are compatible with IS. Thanks in advance,

    Keri

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. Glenn Nelson
    Member
    Plugin Author

    Posted 1 year ago #

    Might be an issue involving the callback not working properly. This is a bug that I will be releasing a fix for in the next few hours.

  3. reefnet
    Member
    Posted 1 year ago #

    Thanks for the quick response! Looking forward to the resolution.

  4. Glenn Nelson
    Member
    Plugin Author

    Posted 1 year ago #

    @reefnet The new version was pushed last night. Try updating to the latest 2.6.1 - this may help solve your issue.

  5. mwinyi
    Member
    Posted 1 year ago #

    i'm expiriencing something similar with Sharethis plugin on this page

    roge.dk

    and i just updated to 2.6.1

  6. reefnet
    Member
    Posted 1 year ago #

    Hi Glenn,

    Thanks for the quick response. Unfortunately, the problem persists :(

  7. Glenn Nelson
    Member
    Plugin Author

    Posted 1 year ago #

    @reefnet @mwinyi What, if any, callbacks/behaviors do you have? A screenshot might be helpful.

  8. reefnet
    Member
    Posted 1 year ago #

    I'm not really that familiar with web development, so I'm not really sure how to answer that. The only customization that I've done has been adding a few plugins to the site, but even when they're all disabled, the problem is there. If you're asking what callbacks I've specified in the Infinite-Scroll Options, the answer is none. Should I be entering the callback for the Sociable plugin? Screenshot of what - the problem on the front-end of my site, or the options screen of Infinite-Scroll?

    You can see the problem if you visit my site:

    http://www.keriwilk.com

    Thanks!

  9. Glenn Nelson
    Member
    Plugin Author

    Posted 1 year ago #

    @reefnet If you could post all of your settings, or a screenshot. Additionally could you post a list or screenshot of your plugins?

  10. reefnet
    Member
    Posted 1 year ago #

    Here is a screenshot of the plugins installed:
    Plugins-Installed

    And here are the Infinite-Scroll options (all default values):
    Infinite-Scroll-Options

  11. mwinyi
    Member
    Posted 1 year ago #

    i don't have any callbacks setup..

    here's the list of plugins installed and activated:

    All in one Favicon
    Bloglovin Follow
    Contact Form 7
    Cudazi Scroll to Top
    Disable WordPress Core Updates
    GTranslate
    infinite Scroll
    SEO Ultimate
    ShareThis
    Simple Lightbox
    Spam Free WordPress

    besides share this, simple lightbox stops working as well, but they are already working on a fix.

  12. Glenn Nelson
    Member
    Plugin Author

    Posted 1 year ago #

    @mwinyi For the lightbox, it is a matter of having a callback that puts the proper event handlers on the right elements. Something like:

    $("#lightbox-trigger").lightbox({ /* options */ });

    As for the social media icons, those are generally activated via Javascript when the page loads. The solution would be to find what JS does the actual rendering of the elements into the social media buttons and adding that to the callback.

  13. mwinyi
    Member
    Posted 1 year ago #

    the script looks like this <script charset="utf-8" type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script> so i assume that is what you are refering to right?..

    how would i do the callback then?.

  14. Glenn Nelson
    Member
    Plugin Author

    Posted 1 year ago #

    @mwinyi Not exactly. There is probably some function that would need to be called to render the elements the have been put on the page. The general setup for it is probably something like:

    $(function() {
      $(".button").social-button-render();
    });
  15. manlioma
    Member
    Posted 1 year ago #

    try this one, works for me

    var el = document.body; 
    
    //Google Plus
    if (typeof gapi !== "undefined") { gapi.plusone.go(el); }
    
    //Facebook
    if (typeof FB !== "undefined") { FB.XFBML.parse(el); }
    
    //Twitter
    if (typeof twttr !== "undefined") { twttr.widgets.load(); }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic