Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Preserve Masonry when using facets to search posts Reply To: Preserve Masonry when using facets to search posts

#8374
Tom
Keymaster

Let’s try one more thing before I go in to check it out:

<script>
    jQuery( document ).on( 'facetwp-loaded', function() {
        var container = jQuery( '.wp-show-posts-masonry' );

        container.imagesLoaded( function() {
            container.masonry( 'layout' );
        } );
    } );
</script>