Conditional visibility for WordPress — by user role, device, date, WooCommerce status, location, and 9 more conditions. No coding.
Shortcode for any builder. CSS class for zero markup. Visual rule builder for teams. All three generate the same result.
Wrap any content in [showif]. Works inside posts, pages, widgets, and every builder's text module.
Add a class directly in your builder's Advanced → CSS Class field. No shortcode, no markup changes — just a class name.
Create named, reusable rules in the ShowIf admin panel. Use the optional AI assistant to generate rules from plain English.
Combine multiple conditions with AND logic. Negate any condition with a single prefix.
role="subscriber"loggedin="true"device="mobile"time="09:00-17:00"date="2026-12-01:2026-12-31"day="saturday,sunday"country="TR,DE,US"woo_spent=">100"url_param="ref=vip"cookie="user_type=vip"scroll="50"acf_field="is_vip=1"user_id="42,87"rule="weekend-deal"Native integrations for the most popular builders. Shortcode and CSS class methods work everywhere else.
Write shortcodes by hand or generate them with one click. The syntax is consistent across all 14 condition types.
// Members-only content [showif role="subscriber"] Your exclusive content here. [/showif] // Else block for guests [showif_else] Sign in to view this content. [/showif_else]
// Customers who spent over $100 [showif loggedin="true" woo_spent=">100" ] VIP discount: LOYAL20 for 20% off [/showif]
// Mobile app download banner [showif device="mobile"] Download our app → [/showif] // Weekend sale (server-side, accurate) [showif day="saturday,sunday"] Weekend 20% off — ends Sunday! [/showif]
// In builder → Advanced → CSS Class: showif--device-mobile showif--role-subscriber showif--loggedin-true // Negate any condition: showif--not-loggedin-true // → visible to guests only
Explore the live demo store — built entirely with ShowIf conditional visibility rules.
From $29 — one-time purchase. Updates included.
Demo credentials shown on the login page