• Hello,

    I’ve tried almost everything on my site, but Infinite-scroll simply won’t work. It seems the masonry javascript is not called back.

    I checked this http://wordpress.org/support/topic/plugin-infinite-scroll-masonry-infinite-scroll-what-javascript-to-call?replies=14 and thought that would help me, but the situation remains the same. I tried to copy that final solution and replace “#infinitecontent” with mine I found, which is supposed to be “#content #boxes”.

    jQuery(window).load(function(){
    <?php if (get_option(‘thestyle_blog_style’) == ‘false’) { ?>
    jQuery(‘#content #boxes’).masonry({ columnWidth: 122, animate: true });
    <?php } ?>
    jQuery(‘#footer-content’).masonry({ columnWidth: 305, animate: true });

    var $fixed_sidebar_content = jQuery(‘.sidebar-fixedwidth’);

    if ( $fixed_sidebar_content.length ) {
    var sidebarHeight = $fixed_sidebar_content.find(‘#sidebar’).height(),
    contentHeight = $fixed_sidebar_content.height();
    if ( contentHeight < sidebarHeight ) $fixed_sidebar_content.css(‘height’,sidebarHeight);
    }
    });

    This quote is from the theme’s original code and so I believe “#content #boxes” is what it should call back. But it doesn’t. I have no experience with javascript, so can anyone please help me?

    Thanks, JT

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

  • The topic ‘[Plugin: Infinite-Scroll] Infinite-scroll and masonry (again)’ is closed to new replies.