FacetWP – Conditional Logic adds smart, rule-based control to your FacetWP filters and templates. Show or hide facets, fields, and UI elements based on user selections, query values, URLs, user roles, and more. Build streamlined, responsive search experiences without code, improve conversions, and keep your interfaces clean and relevant.
- Show/hide facets based on selected facet values
- Conditional display for facet groups, templates, and UI blocks
- Rules based on URL parameters, query strings, and referrers
- User-aware logic using roles, capabilities, and login state
- Device and breakpoint conditions for mobile-first layouts
- Date, time, and schedule-based visibility controls
- WooCommerce-aware rules: product type, price, stock, taxonomy
- Post data conditions: post type, taxonomy terms, meta values
- Works with AJAX for instant updates without page reloads
- Drag-and-drop rule builder with AND/OR logic groups
- Preset templates for common conditional patterns
- Lightweight and fast; no extra database queries
- Developer hooks and filters for custom conditions
- Multilingual compatible (WPML/Polylang) and RTL-ready
- Accessible, SEO-friendly rendering with graceful fallbacks