1. Home
  2. AccessAlly
  3. WordPress Themes
  4. How to Show or Hide a Divi Module with Permission Tags in AccessAlly

How to Show or Hide a Divi Module with Permission Tags in AccessAlly

It is possible to show or hide a Divi module with permission tags used by AccessAlly. However, since AccessAlly is not designed with the unique nuances of the Divi in mind, you will have to install a third-party plugin, called Content Visibility for Divi Builder.

WARNING: Please note that this plugin was not created by the AccessAlly team. We do NOT provide technical support or guarantee its effectiveness on your site.

How To Set Up Visibility

Step 1: Install Plugin

First, install the Content Visibility for Divi Builder plugin on your site.

Step 2: Add Permission Tag Requirements To Modules

Content Visibility Image 1

As you open up each module, you’ll see a section under the Advanced tab called “Content Visibility.” In this section, you can designate the tags that are required to view the module, using either the tag names or tag IDs.


In this case, the tag names (not ID) are provided in a comma-delimited list:

accessally_has_any_tag("tag name 1,tag name 2")

In this case, the tag IDs (not names) are provided in a comma-delimited list:

To recap, the only codes you should/are able to use are as follows:

- accessally_is_logged_in()
- accessally_has_any_tag("tag name")
- accessally_has_any_tag_id("tag id")
- accessally_has_all_tag("tag name")
- accessally_has_all_tag_id("tag id")

If you would like to exclude tags, say if someone does NOT have a specific tag or set of tags, place an exclamation mark in front of the code.

For example:

!accessally_has_all_tag_id("tag id")

This will translate to “anyone who does not have this tag”.

ACCESSALLY DOES NOT PROVIDE TECHNICAL SUPPORT FOR THIS FEATURE/PLUGIN. Please note that this is advanced functionality and should be attempted with care. Depending on the error-handling implementation in Divi, there is the risk of a typo causing a page to not load at all.

For any help, please contact the creators of the Content Visibility for Divi Builder plugin directly.

Updated on November 27, 2023
Was this article helpful?

Related Articles


If you have any questions, we're just an email away.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

Laptop with the AccessAlly demo site

AccessAlly is the most flexible way to sell and elegantly deliver digital offerings. All in one place.


You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.