The WooCommerce filter field guide
Filter Controls.
Every ModeFilter Pro control explained: chips, checkboxes, swatches, size buttons, stepper, price slider with histogram and star rating.
A control is how one filter looks and behaves. Each filter in a panel can use a different control.
Classic styles
| Control | Looks like | Best for |
|---|---|---|
| Chips | Rounded buttons you can select | Short lists, modern shops |
| Checkboxes | A list with tick boxes | Long lists, multi-select |
| Radio buttons | A list where one choice is active | Single choice |
| Toggle switches | On/off switches | Yes/no style options |
| Hierarchical tree | Indented parent and child categories | Categories only |
Rich controls
| Control | Where it applies | What it shows |
|---|---|---|
| Swatches | Attributes with colours or images | Round colour or image dots |
| Size buttons | Size-like attributes | Square buttons sorted XS to XXL, then numbers |
| Stepper (N+) | Numeric attributes such as bedrooms | Any | 1+ | 2+ | 3+ segments |
| Price slider | Price | Two-handle slider with a histogram of how many products sit at each price |
| Range chips | Price | Ready-made price ranges |
| Star rows | Rating | "4 stars & up" rows |
Smart suggestions
ModeFilter Pro only offers a control where your data supports it:
- Swatches are offered for product attributes whose terms have a colour or image, or have recognisable colour names or hex codes. Categories, tags and brands never get swatches.
- Size buttons appear for attributes named like a size or whose terms look like sizes.
- Stepper appears for attributes whose terms are mostly numbers.
- Hierarchical is only for categories.
If a control is not available, the builder explains why and the storefront falls back to the default style.
Auto mode
By default filter_controls="auto". ModeFilter Pro picks swatches for colour attributes, size buttons for size attributes, a stepper for numeric ones, a slider for price and stars for rating. To keep the old chip look, use filter_controls="none".
Choose a control per filter
[modep_filters filter_controls="auto,categories:checkboxes,rating:chips,pa_color:swatches"]
Write filter:control pairs separated by commas. Filters are categories, tags, brands, price, rating or an attribute such as pa_color. Add auto to let other filters choose for themselves.
Set up swatch colours
- Go to Products → Attributes and open Configure terms for your colour attribute.
- Edit a term. Pick a swatch colour or choose an image.
- Save. The filter shows the swatch.
Terms with no colour set still work when the name is a common colour (such as Black, Navy or Red) or a hex code (such as #ff6600).
Counts, search and applied filters
- Live counts (
show_counts) show how many products each option would return. Counts update as other filters change. - Search in filter (
filter_search) adds a search box to long lists.autoshows it on lists with many options. - Applied filter chips (
applied_bar) show removable chips above the grid and a Clear all link.
Placements
| Value | Result |
|---|---|
| left, right | Sidebar next to the grid. A Filters button opens a drawer on small screens |
| top | Horizontal bar above the grid |
| pills | A row of pill buttons. Each opens a small pop-over |
| drawer | A Filters button that opens a slide-in drawer on every screen size |
