FacetWP ignore the home / blog page

mgibbs189

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

add_filter( ‘facetwp_is_main_query’, function( $is_main_query, $query ) {
return ( $query->is_home() ) ? false : $is_main_query;
}, 10, 2 );

{{/gist}}