Archived topic
Using Sections Seems to Conflict with Envira Galleries and Gravity Forms
2 replies · Started by mmarvel on August 19, 2017
Hi.
I'm building a new website and it uses Envira Galleries and Gravity Forms. When I turn on the "Section" addon and then go to edit the page the Envira Gallery button disappears from the editor. Wondered if there was anything I could change to fix that. Added screenshots with the section on and with it off.
Thanks and will check back.
Martha
Can't add screen shot.
So when in visual editor the Envira Galleries and Gravity FOrms buttons are next to the Media button above the general editing button/icons. But when sections is on and am in edit mode only the media button shows about the general editing buttons.
Sections requires me to manually add support for buttons like this.
I'd added it to the next version, but for now you can add this function:
add_action( 'wp_head', 'tu_sections_envira_button' );
function tu_sections_envira_button() {
?>
<style>
#wp-generate-sections-editor-wrap .wp-media-buttons > .envira-gallery-choose-gallery {
display: inline-block;
}
</style>
<?php
}