Menu Close

Facet displays: list, buttons, dropdown and swatches

Blocksify Pro lets each Loop Filter facet appear as a list, buttons, a dropdown, or visual swatches.

Start with the Loop Filter overview for how facets narrow results, then choose a display for the number of choices, available space, and selection behavior.

Where to find Display and Control

  1. Select the Loop Filter block and open Settings.
  2. Under Facets, click the facet you want to change. Its settings popover opens.
  3. Open Display, then choose values in Control and Display. The facet preview updates on the canvas.

Control decides selection behavior; Display decides how choices look. Number and date facets use separate controls. The filter shells and responsive layout guide covers how the complete facet group opens and flows around the results.

Shared display options

The four displays share settings for labels, counts, ordering, long choice sets, and collapsible sections. Some rows appear only where they apply.

The Property type Display popover shows its Label, Control, Match, Display, Show counts and Hide empty settings in one panel.
SettingDescription
LabelPlaces the label Above, Inside field for a Dropdown, or Hidden.
ControlCheckboxes allow several choices; Radio (single) allows one.
MatchFor Checkboxes, Any matches at least one selection; All requires all selections.
DisplayChooses List, Buttons, Dropdown, or Swatches when the field supports it.
Show countsShows current totals when count information is available.
Hide emptyRemoves unselected choices with zero results.
Order byUses Natural, Label, or Count.
LimitSets the initial number of choices. A value of 0 is unlimited.
Show moreReveals choices beyond the Limit; Dropdown does not use it.
CollapsibleLets visitors open and close the facet. Collapsed by default starts it closed.
All labelReplaces Any for Radio (single) and Dropdown.
Search boxAdds a field for narrowing Dropdown choices.

List

List shows choices vertically with checkboxes or radio controls. Use it when visitors should scan names and counts together.

The Find a Property sidebar shows the Property type choices as a vertical checkbox list with result counts.
SettingDescription
CheckboxesCombines choices such as Apartment and House.
Radio (single)Keeps one choice active.
Limit and Show moreKeeps a long list compact.

Buttons

Buttons presents compact text choices that wrap. It suits Property type choices such as Apartment, House, or Villa.

The Find a Property sidebar shows Property type as compact buttons with House selected and result counts beside every choice.
SettingDescription
ControlCheckboxes allow several choices; Radio (single) keeps one.
Show countsAdds a compact badge inside each button.
Choice lengthShort labels fit best in a wrapping group.

Dropdown keeps choices behind one field. Use it when space is limited or a facet contains many terms.

The Find a Property City facet shows its complete open dropdown with a search field and indexed result counts.
SettingDescription
ControlRadio (single) keeps one value. Checkboxes allow several in a non-hierarchical set.
All labelSets the text shown with no active choice.
Search boxFilters choices inside the open dropdown; it starts on.
LabelInside field places the facet label in the field.

Swatches

Swatches shows a WooCommerce attribute as colour or image chips. Out of the box, it appears only for a visual product attribute configured by WooCommerce, a compatible colour-and-image swatch plugin, or YaySwatches.

The Colour facet shows six solid home-goods swatches for Charcoal, Natural, Ochre, Sage, Sea Glass and Terracotta with result counts.

A two-colour term renders as an evenly split chip. An image term uses its assigned image; a missing visual falls back to a text initial.

A zero-result chip is dimmed, disabled, and crossed by a diagonal line. Hide empty removes unselected zero-result choices.

In the Northstar Shop example, six solid colours (Natural, Sage, Terracotta, Charcoal, Ochre, Sea Glass) are configured on the product terms.

SettingDescription
ControlCheckboxes allow several swatches; Radio (single) keeps one.
Term namesShows the term beside each chip. When off, the name remains available to assistive technology and on hover.
Show countsShows counts beside names and keeps them available in chip-only rows.
Colour sourceUses the product attribute term, not a Blocksify color palette.

Note: If the product attribute no longer has a supported colour or image setup, Swatches falls back to Buttons on the published page.

For the complete shop setup, see Filter WooCommerce products. Developers can connect another taxonomy to Swatches with Add a custom swatch source.

Was this helpful?

0

Updated