FacetWP Conditional Logic Add-On
Letβs say you want to do something onΒ yoursite.com/demo/cars/
Β if the βMakeβ facet hasΒ bmw
Β selected. Youβd add the following conditions:
Actions
Actions determineΒ what to do. Each action has 2 inputs:
- ToggleΒ β Show or Hide
- ObjectΒ β AΒ facet, all facets, the template, or a custom selector
- ElseΒ β What to do when the rulseset doesnβt match (Do the opposite, or Do nothing)
Using custom selectors
- Click the βAdd actionβ button
- InΒ the second dropdown, choose theΒ
Selector
Β option - A new input box will appear, in which you can enterΒ jQuery selectorsΒ (one per line).
Reviews
There are no reviews yet.