Home › Forums › Pro Support › Preserve Masonry when using facets to search posts › Reply To: Preserve Masonry when using facets to search posts
March 22, 2019 at 4:32 pm
#8323
Keymaster
Let’s try this:
<script>
jQuery( document ).on( 'facetwp-loaded', function() {
jQuery( '.wp-show-posts-masonry' ).masonry( 'layout' );
} );
</script>
Let me know 🙂