Hide template

First, add some CSS to your theme:


.facetwp-template { display: none; }
.facetwp-template.visible { display: block; }


Then you can use this JS to dynamically add the CSS class after the first refresh:

(function($) {
  $(document).on('facetwp-loaded', function() {
    if (FWP.loaded) {
      $('.facetwp-template').addClass('visible');
    }
  });
})(jQuery);