Filter Sources and Control Types
Every Filter Posts Item combines two decisions: what data to filter and how to present it. This guide maps all supported combinations in WPEnhanced Ajax Filter Blocks.
Filter sources overview
Content and taxonomy (free)
| Source | Description | Typical control types |
|---|---|---|
| Categories | Built-in category taxonomy (or product category for WooCommerce) | Select, checkbox/radio, swatches |
| Tags | Built-in post_tag taxonomy | Select, checkbox/radio |
| Taxonomy | Any custom taxonomy registered on the post type | Select, checkbox/radio, swatches |
| Search | Full-text keyword search | Search input (fixed) |
| Custom meta | Filter by post meta key/value | Select, checkbox/radio, range, date |
| Published date | Filter by post publish date | Date / date range picker (fixed) |
WooCommerce (free, requires WooCommerce)
| Source | Description | Typical control types |
|---|---|---|
| Product attribute | Global or custom product attributes (pa_colour, pa_size, …) | Select, checkbox/radio, swatches |
| Product price | Min/max price from store catalog | Number / range slider |
| Product weight | Product weight meta | Number / range slider |
| Stock status | In stock, out of stock, on backorder | Select, checkbox/radio |
Set the parent Filter Posts post type to Product before adding product sources.
Pro-only sources
The following sources require WPEnhanced Ajax Filter Blocks Pro:
| Source | Description |
|---|---|
| Post types | Filter mixed or multi-type archives by post type |
| ACF | Pick any ACF field from the block editor; supports text, choice, true/false, and more |
| ACF map | Radius search around an address using ACF Google Map field data |
| Product rating | Filter products by minimum star rating |
See ACF fields and map for ACF and map setup.
Control types overview
| Control type | Visitor experience | Multi-select |
|---|---|---|
| Select | Dropdown list | Optional (multi-select mode) |
| Checkbox / radio | Visible list or button group | Checkbox = yes; radio = single |
| Number / range | Slider or dual-handle min–max | N/A (range values) |
| Date / date range | Calendar picker | Range mode optional |
| Search | Text input with typing delay | N/A |
| Swatches | Visual colour/image chips | Works with checkbox/radio base |
Source × control compatibility
| Source | Select | Checkbox/radio | Range | Date | Search | Swatches |
|---|---|---|---|---|---|---|
| Categories | ✓ | ✓ | — | — | — | ✓ |
| Tags | ✓ | ✓ | — | — | — | — |
| Taxonomy | ✓ | ✓ | — | — | — | ✓ |
| Search | — | — | — | — | ✓ | — |
| Custom meta | ✓ | ✓ | ✓* | ✓* | — | — |
| Published date | — | — | — | ✓ | — | — |
| Product attribute | ✓ | ✓ | — | — | — | ✓ |
| Product price | — | — | ✓ | — | — | — |
| Product weight | — | — | ✓ | — | — | — |
| Stock status | ✓ | ✓ | — | — | — | — |
| ACF (Pro) | ✓ | ✓ | ✓* | ✓* | — | ✓* |
| Post types (Pro) | ✓ | ✓ | — | — | — | — |
| Product rating (Pro) | ✓ | ✓ | — | — | — | — |
| ACF map (Pro) | — | — | — | — | — | — |
*Depends on meta/ACF field value type (string, number, date).
Multi-select logic
When checkbox or multi-select mode is enabled:
- OR — Posts matching any selected value appear (typical for categories and attributes)
- AND — Posts must match all selected values (stricter faceted search)
For hierarchical taxonomies, options include indenting child terms, collapsing parents, and disabling parent-term filtering when only leaves should match.
Value type for custom meta
Custom meta and ACF fields support:
- String — Exact match or IN-list for multiple values
- Number — Numeric comparison; pairs with range sliders
- Date — Date picker with format and locale settings
Ordering and limiting options
Available on taxonomy-based sources:
- Term order — Name, slug, term ID, or count
- Include options — Only show listed term slugs/IDs
- Exclude options — Hide specific terms
- Deselect included — Allow clearing pre-included terms
Choosing the right combination
| Use case | Recommended setup |
|---|---|
| Simple blog category filter | Categories → Select |
| Shop sidebar facets | Product category → Checkbox; attributes → Swatches |
| Price-led browsing | Product price → Range (dual handle) |
| Resource library keyword + topic | Search item + Taxonomy checkbox |
| Directory with ACF region field | ACF (Pro) → Select or checkbox |
Recipes with step-by-step block settings: Common filter setups.
Related settings
- Empty filter options — Hide zero-result choices
- Select2 — Enhanced dropdowns
- Live search — Search field timing
What's next
- Common filter setups — Copy-paste configurations for popular scenarios
- Filter Posts Item block — Per-block settings reference
- WooCommerce integration — Product-specific notes