wpCodesLab Visibility Conditions for Elementor
wpCodesLab Visibility Conditions for Elementor adds a powerful and lightweight Visibility Conditions panel directly to the Advanced tab of every Elementor element. Create conditional display rules, choose whether matching conditions show or hide the element, and let WordPress evaluate everything sec
wpCodesLab Visibility Conditions for Elementor adds a powerful and lightweight Visibility Conditions panel directly to the Advanced tab of every Elementor element. Create conditional display rules, choose whether matching conditions show or hide the element, and let WordPress evaluate everything securely on the server before any HTML is rendered.
Because restricted content is never rendered on the server, it never appears in the page source, cannot be inspected via developer tools, is never indexed by search engines, and adds zero weight to your page load.
User Conditions
- Login Status : Display content exclusively to logged-in members or logged-out guests.
- User Roles : Target one or more user roles with flexible comparison (“Is one of” or “Is none of”). Works with default WordPress roles and custom roles created by membership or eCommerce plugins.
- Specific Users : Target individual users by User ID, username, or email address with “Is one of” or “Is none of” logic.
- User Capability : Show or hide content based on WordPress capabilities (e.g. edit_posts , manage_options , or custom capabilities) using “User can” or “User cannot”.
- Account Age : Target accounts registered more than or less than a specified number of days ago. Perfect for welcoming new members or offering loyalty perks to long-time users (guests never match).
Visitor & Session Conditions
- Visit Count : Tailor content based on how many browsing sessions a visitor has had. Greet first-time visitors with a welcome offer, or display special promotions to returning visitors.
- Comprehensive Operators : Evaluate visit numbers using Equal to, Not equal to, Greater than, Greater than or equal to, Less than, Less than or equal to, or Between min and max ranges.
- Cache-Compatible Tracking : Uses browser sessions and lightweight client-side cookies so visit counting continues to work reliably even behind full-page caching solutions.
Flexible Logic & Actions
- Show or Hide : Decide whether matching conditions will show or hide the selected element.