Logic Hop is fully integrated with WordPress, so any condition can decide whether a widget is shown to a specific visitor. Conditions are available on every widget, with a default state of Always Display.
Logic Hop is fully integrated with WordPress and any Logic Hop condition can determine whether a widget is displayed to a specific user. Conditions are automatically available for all widgets, and the default display state is Always Display.
Create a conditional widget
Apply conditional logic to any widget in a few steps. The Always Display option applies no logic and shows the widget to everyone. Note that you must create a condition first before any appear in the dropdown.
In the WordPress Dashboard Widgets section, select the widget you want to control
Use the Display If Logic Hop Condition Is menu to pick a condition
To show the widget when a condition is not met, check the Logic Hop Condition Not Met box
Conditional navigation with widgets
You can use conditional widgets to display navigation menus to specific audiences. This may require adjusting your theme to replace a menu area with a widget area, after which menus can be shown conditionally like any other widget.
Conditional widgets and caching
When Javascript Tracking is enabled, widgets with conditions are wrapped in a span with the CSS display property set to none. Conditions are evaluated after the page loads and, if met, a jQuery fadeIn event reveals the widget. This keeps conditional widgets working alongside page caching. See the caching guide for details.
Questions this page should answer
Do conditional widgets work with caching plugins?
Yes. With Javascript Tracking enabled, conditional widgets are hidden by default and revealed via AJAX after the page loads, so they work with caching plugins.