Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Add to your child theme's functions.php
- add_action( 'wp_footer', function() {
- ?>
- <script>
- (function($) {
- $(document).on('facetwp-loaded', function() {
- if (FWP.loaded) {
- FOOBOX.init();
- }
- });
- })(jQuery);
- </script>
- <?php
- }, 100 );
Add Comment
Please, Sign In to add comment