Flatsome – support lazy load images and quick view

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

add_action( ‘wp_head’, function() {
?>
<script>
(function($) {
$(document).on(‘facetwp-loaded’, function() {
Flatsome.behaviors[‘lazy-load-images’].attach();
Flatsome.behaviors[‘quick-view’].attach();
});
})(jQuery);
</script>
<?php
}, 100 );
{{/gist}}