// Checkboxes

Overview

The checkbox facet type lets users select multiple values.

facet-type-checkboxes

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 How to sort the options (Facet Count, Display Value, Raw Value)
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 ghosts Ghosts are facet choices that, if clicked, would return zero results
Preserve ghost order Should ghosts be kept 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.

Hide Counts

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

.facetwp-counter {
    display: none;
}