Using this causes modules to be unselectable in library
-
This plugin is great and does exactly what it says.
HOWEVER, it also has an unintended side effect….When I create a Library layout (row) of buttons with visibility defined by script, the layout-row becomes UNSELECTABLE for addition into pages….
There seems to be a conflict. ??the moment I disable this plugin, the layout-row becomes selectable again.
in module: is_amazon()
script added to functions.php:// Divi module visibility function is_amazon() { global $post; $r = false; if ( function_exists('get_field') ) { if ( get_field('amazon-link') ) { if ( !empty(get_field('amazon-link')) ) { $r = true; } } } return $r; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using this causes modules to be unselectable in library’ is closed to new replies.