[Support request] Using Sections Seems to Conflict with Envira Galleries and Gravity Forms

Home Forums Support Using Sections Seems to Conflict with Envira Galleries and Gravity Forms

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #369469
    mmarvel

    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

    GeneratePress 1.4
    GP Premium 1.4.3
    #369476
    mmarvel

    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.

    #369651
    Tom
    Lead Developer
    Lead Developer

    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
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.