WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
Infinite Scroll + Masonry (2 posts)

  1. jimmytuesday
    Member
    Posted 10 months ago #

    Hi,

    I've been searching the internet for weeks trying to figure out what I'm doing wrong, but nothing seems to work. I've activated the plugin and my selectors are (I think) correct, yet nothing happens.

    The site is http://williamstewart.me/wordpress

    I ran debug and it sent back a bunch of errors that were all "PHP Notice: Undefined index: async-upload" which.. I'm not sure what that means.

    I'm calling masonry through html. My container divs for the individual post also have a bunch of divs inside them, could that be the problem?

    I would really appreciate any help! Thank you!!

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

  2. Arjan
    Member
    Posted 10 months ago #

    Hmmm, there's not much detail we can look at. Please enable the debug option again, so people van peek into the JavaScript console to see what's going on. Also: what selectors are you using?

    If you happen to use Masonry with Isotope, then looking at the Isotope documentation, I had to edit infinite-scroll/behaviors/masonry-isotope.js to change

    $(this).masonry('appended',$(newElements));

    into

    $(this).isotope('appended',$(newElements));

    The above might be a bug in the plugin (as the dropdown suggests it should work for Isotope too); I found your post when trying to find other reports about this.

Reply

You must log in to post.

About this Plugin

About this Topic