• Products
    • BuddyBuilder
    • Visibility Logic for Elementor
    • Woo Addons Upcoming
    • Enhanced Addons Upcoming
  • Blog
  • My Account
  • Products
    • BuddyBuilder
    • Visibility Logic for Elementor
    • Woo Addons Upcoming
    • Enhanced Addons Upcoming
  • Blog
  • My Account

Getting Started

  • Requirements For Stax Theme
  • How to Install the Stax Theme Via WordPress
  • Stax Recommended Plugins
  • How to Install the Stax Theme via FTP
  • Setting up a Stax Child Theme

FAQ

  • Image Sizes
  • How to utilize Visibility Logic plugin within the theme
  • How Can I update the theme

Customizer Settings

  • Stax – Colors
  • Stax – Typography Options
  • Stax- Header
  • Stax – Footer
  • Stax – Layout
  • Stax – Single Post
  • Stax- Single Page
  • Stax – Performance
  • Stax – Archive Listing
  • Stax – 404 Page
  • Stax – Miscellaneous
  • Stax – Menus
  • Stax – Export/Import
  • Stax – Additional CSS
  • Stax- Widgets

Posts and Pages

  • Creating Posts and Pages
  • Stax Options
  • Adding Elementor Templates

How to Guides

  • How to Create and restore Backups to your Website
  • How To Add Custom Fonts

Translation

  • How to Translate the theme with Loco Translate
  • Theme Translation Basics
  • How to Translate the theme with Poedit
  • How to Translate the theme with WPML
  • Multilingual site setup with WPML

Speed and Performance

  • How to Optimize For Speed and Performance

Troubleshooting

  • Basic Troubleshooting
  • Submitting Support Tickets
  • Home
  • Docs
  • Stax Theme
  • FAQ
View Categories

How to utilize Visibility Logic plugin within the theme

3 min read

Overview

The Visibility Logic For Elementor is a plugin used to hide sections or widgets in use within a page/post, while using the Elementor page builder plugin. The plugin is available both as a free version and a pro version. The free version of the plugin is what is bundled within the theme and can be installed from the Appearance > Install Plugins section within the WordPress dashboard, after installing the theme.

Taking into consideration that the theme also includes Elementor as a recommended page builder, the plugin can come in handy for users who need to set visibility restrictions to sections or widgets within their websites.

Within this guide, we will look into how you can use the plugin within a page using the builder. This guide assumes that you are already familiar with editing website content with Elementor. If not, you may check out the video here for some basics on this.

Adding Visibility Settings on a Widget or Section

In order to add visibility settings to a section or widget, navigate to the Pages section within your WordPress dashboard and click the link “Edit With Elementor” within the page you wish to edit.

Within the next screen, select a section where you would wish to apply the visibility settings. In our case here, we will select the first section, depicted by a red border in this case, as seen below:

On the left pane, you will have a view of the “Stax Visibility” tab:

Click on the tab and you should now have a view of the General settings in place:

Enable the Option “Enable Visibility Logic”. As for the “Hide When Empty” option, you can as well enable it if you wish to hide from view the entire section, in a case where all the widgets inside it are hidden.

You will then be presented with a couple of settings that you can use to either hide or display your section depending on the condition you set. Below is a sample display:

If for example in our case we want to hide the section to for example logged in users, you would need to carry out the following in the respective sections:

  • Under the General section, Show/Hide setting, set the option to “Hide”
  • Within the “User Role” segment, enable it and from the available user roles within your website, select “Logged in users”.
  • Save your changes

Below is a sample screencast on this:

Widget visibility is also applicable following similar steps. Below is a sample screencast illustration on how to hide a button on Chrome browser for logged in users:

The free Visibility Logic For Elementor plugin provides a number of visibility conditions based on user role, user meta, Date Time and Browser Type. You can however have additional visibility settings with the pro version as seen here.

For more details on the extensive plugin functionalities, you can check out the plugins’ documentation here.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on May 30, 2022
Image SizesHow Can I update the theme
Table of Contents
  • Overview
    • Adding Visibility Settings on a Widget or Section

Stax Theme | Made with ❤️ by StaxWP