Site logo

Archived topic

Cannot use GP Premium along with a child theme

5 replies · Started by Hilton on August 10, 2019

Viewing posts 1–6 of 6

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?

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

Hi there,

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

remove_action( 'admin_notices', 'generate_premium_theme_information' );

Thanks Tom ;)

You're welcome :)

This archived topic is closed to new replies.