Facets Engine
Facets are the individual filter controls your visitors interact with (like a Price Slider, a Color Swatch, or a Category Checkbox). FilterX separates the "UI Design" of a facet from "Where the Data Comes From", giving you ultimate flexibility.
The Anatomy of a Facet
Every facet in FilterX is built using three simple concepts. You mix and match these to create the perfect filter experience.
1. The Source
Where the data lives. Is it a WooCommerce Price? An ACF Custom Field? A standard WordPress Category? FilterX auto-detects them all.
2. The UI Type
How the user interacts with it. You can display the exact same data as a Dropdown, a list of Checkboxes, or clickable Pill buttons.
3. The Grid Link
Which Grid the filter controls. Because facets are standalone widgets, you can place them anywhere on the page (like a sidebar or a top bar) and link them to any grid.
Universal Facet Settings
Whenever you create or edit a Facet in the FilterX admin panel (/wp-admin/admin.php?page=filterx-facets), you configure the following universal settings:
| Control / Setting | Description |
|---|---|
| Facet Name | The internal label for this facet, and the fallback text displayed above the filter in the UI (e.g., 'Filter by Brand'). |
| Facet Slug | A unique URL-safe identifier automatically generated from the Name. This is what you select in the Elementor/Gutenberg widget. |
| Data Source | Choose the master list of options. Options include Taxonomy Terms, Post Meta keys, ACF Fields, or WooCommerce Attributes. |
| Source Key | The specific identifier in the database. For example, if Source is 'Taxonomy', the Source Key might be 'product_cat' or 'post_tag'. |
| Status | Set to 'Publish' to make it live, or 'Draft' to hide it from the frontend without deleting its indexed data. |
Available Data Sources
Taxonomy Terms
Any standard WordPress taxonomy (Categories, Tags, Custom Taxonomies).
Advanced Custom Fields (ACF)
Deep integration with ACF, including nested repeater fields.
WooCommerce Specifics
Auto-detects native Woo data (Price, Stock Status, On Sale, Average Rating).
Post Meta
Any custom meta key stored in your database.
