Facets can become empty when they have no choices left after filtering. But only if their “Show ghost” setting (if it has that) is not enabled.

Facets can also be empty before filtering, if they have no choices indexed/available for the posts in the listing. Or if the listing template’s query has 0 results.

Although empty facets may become invisible because their container element is empty, FacetWP does not actively hide them (except in the Mobile Flyout). So if there is styling attached to the facet container, it will remain visible.

To hide empty facets using a custom code snippet, follow the instructions in this section.

Note that if your facets are added with a Facet block (available in the Blocks add-on v0.3+), you need to use the Facet block’s “Hide when empty” setting instead, which does the same as the custom code.

See also

Last updated: February 9, 2026