[Resolved] LearnPress conflicts: GP Configure disappeared

Home Forums Support [Resolved] LearnPress conflicts: GP Configure disappeared

Home Forums Support LearnPress conflicts: GP Configure disappeared

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #969044
    Nicolaas

    I installed LearnPress
    I have GP Premium running.
    After install I could not access GP Configure page anymore (only message Tom in top).
    Deactivated LP and now all works again.

    Is there a known remedy for this?

    #969169
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    So once LearnPress is activated, the “Appearance > GeneratePress” menu item disappears? Is GeneratePress still active in the Themes area?

    #969205
    Nicolaas

    Hi Tom,

    The Menu item GeneratePress remains visible in Appearance. Clicking on it though leads to empty page except for your message ‘Made with …’ in top. Same behaviour if I go through GP Premium plug-in and click Configure.

    And yes, still active in Themes area.

    Cheers,

    Nicolaas

    #969643
    Tom
    Lead Developer
    Lead Developer

    Any chance you can send me temporary admin login details so I can take a closer look?: https://generatepress.com/contact

    Is anything else broken other than the “Appearance > GeneratePress” area?

    #970569
    Tom
    Lead Developer
    Lead Developer

    They seem to be loading this CSS on all pages in the admin:

    .clearfix {
        clear: both;
        height: 0;
        opacity: 0;
    }

    Instead, they should load their CSS only when it’s needed.

    For now, try this PHP: https://docs.generatepress.com/article/adding-php/

    add_action( 'admin_head', function() {
        $screen = get_current_screen();
    
        if ( 'appearance_page_generate-options' === $screen->base ) {
            echo '<style>.clearfix {height: auto;opacity: 1;}</style>';
        }
    } );
    #970766
    Nicolaas

    Thanks Tom,

    I will try this out (and notify LearnPress). Thanks for the great support up till now!

    Nicolaas

    #970835
    Nicolaas

    Tom,

    Added it in Code Snippet and it works.

    Thanks very much!

    Nicolaas

    #971207
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

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