• I’ve gotten the ALM plugin working and templates working great but I am trying to use it with isotope, having problems getting isotope to refire after new posts are added.
    I’ve tried the following functions to no avail

    This one came from the isotope site

    $('#load-more').on( 'click', function() {
      // create new item elements
      var elems = [];
      for ( var i = 0; i < 3; i++ ) {
        var elem = getItemElement();
        elems.push( elem );
      }
      // append elements to container
      $container.append( elems )
        // add and lay out newly appended elements
        .isotope( 'appended', elems );
    });

    This was trying to adapt the masonry example

    $.fn.almComplete = function(alm){
    		var $elems = getItemElement().add( getItemElement() ).add( getItemElement() );
    		$container.append( $elems ).isotope( 'appended', $elems );
    	};

    Any help would be awesome. dev site is up at http://freshmintdesign.com/fmd

    https://ww.wp.xz.cn/plugins/ajax-load-more/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘ALM Isotope??’ is closed to new replies.