Hide a Divi section
-
Hi
I’m attempting to show/hide Divi sections based on whether an ACF checkbox field is selected.
I’ve managed to get this working perfectly to show/hide modules with this:
function_exists(‘get_field’) && get_field(‘content_area’) !== ”
But I can’t get this to work in the same manner to hide a whole section.I’m very much a beginner, so some assistance with the correct expression to use would be much appreciated! I would also want the ability to show and hide a few sections, if possible.
- The topic ‘Hide a Divi section’ is closed to new replies.