1. Home
  2. AccessAlly
  3. WordPress Theme Customization
  4. How To Control Divi Modules Based On AccessAlly Permission Tags

How To Control Divi Modules Based On AccessAlly Permission Tags

It is possible to show or hide Divi modules based on a user’s permission tags. To do this, you’ll need 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 It Up

Step 1: Install Plugin

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

Step 2: Add Permission Tag Requirements To Modules

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

TAG NAME

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")

TAG ID
In this case, the tag IDs (not names) are provided in a comma-delimited list:
accessally_has_any_tag_id("123,456")

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”)
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 June 11, 2019

Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

If you have any questions, we're just an email away at your@accessally.com.

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

AccessAlly is the #1 WordPress Course and Membership Solution for Industry Leaders

WATCH THE DEMO

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