FacetWP – integrate with WP Tiles (NON-WORKING)

mgibbs189

{{gist file=”test.js” lang=”javascript”}}
<script>
(function($) {
$(document).on(‘facetwp-loaded’, function() {
$.each(wptilesdata, function(idx, tiledata) {
$(‘#’ + idx).wptiles(tiledata);
});
});
})(jQuery);
</script>
{{/gist}}