Use the loop shortcode with isotope js.