[v1.4] Free Download FacetWP - Conditional Logic
This add-on lets you togglefacets (and other elements) basedon certain conditions.
First, we addaRuleset. EachRuleset containsConditions(IF) andActions(THEN).
Conditions
Conditions determinewhat to test for.
Let’s say you want to do something onif the Make facet hasselected. You’d add the following conditions:
If a ruleset hasno conditions, then its actions willalwaysbe applied.
Actions
Actions determinewhat to do. Each action has 2 inputs:
- Toggle Show or Hide
- Object Afacet, all facets, the template, or a custom selector
- Else What to do when the rulseset doesn’t match (Do the opposite, or Do nothing)