[Resolved] Cannot use GP Premium along with a child theme

Home Forums Support [Resolved] Cannot use GP Premium along with a child theme

Home Forums Support Cannot use GP Premium along with a child theme

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #980863
    Hilton

    Hi,
    I’ve renamed generatepress theme folder to myfolder, them I’ve created a myfolder-child theme. When installing GP Premium plugin it displayed a message that it only works with Generate press theme enabled.
    Can you help?

    #980934
    Leo
    Staff
    Customer Support
    #980992
    Hilton

    Hi Tom,
    I followed these steps. My goal is just avoid anyone viewing source code may be able to detect I am using GP theme.
    1. Go to wp-content/themes and change “generatepress” to your own name. Note: This will stop you from receiving automatic updates.
    2. Go to wp-content/themes/your-new-name and open style.css – change the name of the theme in there.
    3. Use these functions to hide GeneratePress in the Dashboard: https://gist.github.com/generatepress/f04d0881f806e84be0ac
    After enabling the child theme

    But after enabling the child theme there is a message on the WP Dashboard displaying a message like “The GP Premium requires that GeneratePress is your active theme. Install now.” as you can see here https://share.getcloudapp.com/nOuYkYGL

    #980993
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Try adding this PHP to your child theme functions.php file:

    remove_action( 'admin_notices', 'generate_premium_theme_information' );

    #980998
    Hilton

    Thanks Tom 😉

    #981001
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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