The Filter Widget feature integrates a customisable filter into your grid, linked to WordPress taxonomies. It offers a selection of buttons representing taxonomy terms, providing an intuitive filtering mechanism for your content.
Filter Taxonomies
To configure, click the ‘Filter Taxonomies’ field. This displays a list of all registered taxonomies from your WordPress site. Select the desired taxonomy or taxonomies to enable filtering based on these classifications. This field requires at least one taxonomy selection to function.
Filter Mode
The Filter Widget operates in three distinct modes, each catering to different user interaction and content display preferences:
- Archive Page: Selecting a term button redirects to the corresponding term archive page, transforming the widget into a navigational tool for taxonomy archives.
- Ajax Reload: The grid dynamically updates to display content matching the selected filter(s) without reloading the page.
- Grid Filter: The grid adjusts visible content to align with the selected filter(s), including triggering additional content loading as needed.
Select Mode
This setting determines the activation behaviour of the filter buttons:
- Multiple Terms: Allows simultaneous activation of multiple buttons, enabling a combination of filters.
- Single Term: Restricts active selection to a single term at a time, ensuring focused filtering.
Filter Operator
Defines the logic applied when multiple terms are selected:
- And: Includes only posts associated with all selected terms.
- Or: Displays posts that match any of the selected terms.
Taxonomy Labels
Enhances clarity by labelling each row of terms with the corresponding taxonomy name.