Skip to main content

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)​

SourceDescriptionTypical control types
CategoriesBuilt-in category taxonomy (or product category for WooCommerce)Select, checkbox/radio, swatches
TagsBuilt-in post_tag taxonomySelect, checkbox/radio
TaxonomyAny custom taxonomy registered on the post typeSelect, checkbox/radio, swatches
SearchFull-text keyword searchSearch input (fixed)
Custom metaFilter by post meta key/valueSelect, checkbox/radio, range, date
Published dateFilter by post publish dateDate / date range picker (fixed)

WooCommerce (free, requires WooCommerce)​

SourceDescriptionTypical control types
Product attributeGlobal or custom product attributes (pa_colour, pa_size, …)Select, checkbox/radio, swatches
Product priceMin/max price from store catalogNumber / range slider
Product weightProduct weight metaNumber / range slider
Stock statusIn stock, out of stock, on backorderSelect, checkbox/radio

Set the parent Filter Posts post type to Product before adding product sources.

Pro-only sources​

note

The following sources require WPEnhanced Ajax Filter Blocks Pro:

SourceDescription
Post typesFilter mixed or multi-type archives by post type
ACFPick any ACF field from the block editor; supports text, choice, true/false, and more
ACF mapRadius search around an address using ACF Google Map field data
Product ratingFilter products by minimum star rating

See ACF fields and map for ACF and map setup.

Control types overview​

Control typeVisitor experienceMulti-select
SelectDropdown listOptional (multi-select mode)
Checkbox / radioVisible list or button groupCheckbox = yes; radio = single
Number / rangeSlider or dual-handle min–maxN/A (range values)
Date / date rangeCalendar pickerRange mode optional
SearchText input with typing delayN/A
SwatchesVisual colour/image chipsWorks with checkbox/radio base

Source × control compatibility​

SourceSelectCheckbox/radioRangeDateSearchSwatches
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 caseRecommended setup
Simple blog category filterCategories → Select
Shop sidebar facetsProduct category → Checkbox; attributes → Swatches
Price-led browsingProduct price → Range (dual handle)
Resource library keyword + topicSearch item + Taxonomy checkbox
Directory with ACF region fieldACF (Pro) → Select or checkbox

Recipes with step-by-step block settings: Common filter setups.

What's next​