mgibbs189

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

function force_pageload_template($output, $params ) {
if ( true === (bool) $params[‘first_load’] ) {
$output[‘template’] = FWP()->facet->get_template_html( $params[‘template’] );
}
return $output;
}
add_filter( ‘facetwp_render_output’, ‘force_pageload_template’, 10, 2 );
{{/gist}}