FacetWP Conditional Logic is an official extension of the FacetWP ecosystem that allows you to dynamically control the visibility of facets, templates, and other elements of your WordPress site through customizable logical rules. It is designed for sites with advanced searches, complex listings, or filtering systems that need to adapt to user choices in real time.
The plugin works through a system of rulesets that combine conditions (IF) and actions (THEN). You can create one or more conditions per rule, combining them with AND or OR logic, and define what happens when they are not met through an ELSE option that allows you to do the opposite or do nothing. This gives you total control over the behavior of each facet without writing a single line of code.
Available conditions include: specific facet values, number of results in the listing, page URI, Listing Builder templates, and states such as "no facets in use" or "some facets in use." You can also use custom jQuery selectors to target specific elements on the page, greatly expanding customization possibilities.
The main benefits of this add-on are:
This add-on is ideal for online stores, directories, real estate portals, and any site that uses FacetWP and needs a smarter, more adaptive filtering system. If your search interface has become confusing due to the number of visible filters, Conditional Logic allows you to keep it organized, relevant, and much easier for your visitors to use.