Display Facets on the Listify Homepage

With FacetWP installed, Listify will default to showing the first 3 facets on the homepage. If you need to control exactly which facets appear, a filter is available:

function set_homepage_facets( $args ) {
    $args['facets'] = 'facet1,facet2';
    return $args;
add_filter( 'listify_widget_search_listings_default', 'set_homepage_facets' );

However, Listify blacklists certain facet types from the homepage hero. This is to avoid potential display issues. The blacklisted facet types are as follows:

  • checkboxes
  • slider
  • date_range
  • number_range

To disable this blacklist, you can add the following code to functions.php:

add_filter( 'listify_facetwp_homepage_blacklist', '__return_empty_array' );