[Resolved] GPP + Post Snippets Conflict in GP Sections

Home Forums Support [Resolved] GPP + Post Snippets Conflict in GP Sections

Home Forums Support GPP + Post Snippets Conflict in GP Sections

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #513480
    Paul

    Just noticed a weird thing when trying to use the Post Snippets plugin while editing a section in the GP Section editor. When clicking the Post Snippets icon in the text or visual editor to insert a shortcode or code snippet, the Post Snippet pop-up window doesn’t appear, but when I click ‘cancel’ to close the GP Section editor, alas, there’s the Post Snippets popup window behind it. This problem doesn’t occur when editing pages without sections or posts. Any suggestion for a fix or is this something the Post Snippets team needs to address?

    #513520
    Tom
    Lead Developer
    Lead Developer

    Hi Paul,

    It could be as simple as a z-index issue, as the Section editor is a modal in itself.

    I can check if you’d like to send me temporary admin login details?

    Let me know ๐Ÿ™‚

    #513558
    Paul

    Cool. Sent to your Support@ email address. Thanks!

    #514087
    Tom
    Lead Developer
    Lead Developer

    Try adding this function:

    add_action( 'admin_head', 'tu_post_snippets_zindex' );
    function tu_post_snippets_zindex() {
    ?>
        <style>
            .ui-dialog {
                z-index: 100102 !important;
            }
        </style>
    <?php
    }
    #514196
    Paul

    HOT DAMN Tom! You da man!!!

    #514349
    Tom
    Lead Developer
    Lead Developer

    haha glad I could help! ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.