The checkbox facet type lets users select multiple values.


Available Options

Name Description
Data Source Where the values live (taxonomy, custom field, post attribute)
Parent Term If Data Source is a hierarchical taxonomy and you want to display only child terms, enter the parent term’s ID.
Sort by Sort facet choices by Facet Count, Display Value, Raw Value, or Term Order
Behavior How the facet reacts when clicked

  • Narrow the result set – “AND” operator
  • Expand the result set – “OR” operator
Hierarchical Whether to indent child terms (this option only appears if Data Source is a taxonomy)
Show expanded Should child terms be visible by default?
Show ghosts Show choices that would return zero results?
Preserve ghost order Keep ghost choices in the same order (mixed with valid choices)?
Count The number of options to display
Soft limit The number of options before showing the “See more” link. Set to 0 to display all options.

What are ghosts?

Ghosts are facet choices that do appear in the unfiltered results — but disappear after being filtered out. If a facet choice has no associated content, then it will never appear.

Hide Counts

To hide counts, add this CSS into your theme’s style.css:

.facetwp-counter {
    display: none;