- This topic has 22 replies, 8 voices, and was last updated 5 years, 7 months ago by Leo.
-
AuthorPosts
-
March 23, 2017 at 3:08 am #296193antware
Hi Tom. Any idea as to why I’m now suddenly getting this message in my Dashboard, on all my sites where I have upgraded GP Premium to the latest version from 1.2.96. I use a child-theme of GeneratePress. Never had this before with prior updates. Look forward to your feedback.
March 23, 2017 at 3:18 am #296196antwareAlso I forgot to add that I rename my generatepress folder and child theme folder (eg. newsite and newsite-child and the adjust the child-themes style.css to use that renamed directory as the Template.
Have done this on other sites with no problem. And have been able to upgrade both the GP Premium plugin and theme with no problem. Now since the last GP Premium upgrade, I get that message and I see my parent renamed GP theme is not updating to the latest version. If that makes any sense.
March 23, 2017 at 10:19 am #296388TomLead DeveloperLead DeveloperNew message in GP Premium as some people were installing the plugin without the theme.
Since you’ve renamed the theme, GP Premium can’t find GP and spits out the message.
You can remove it like this:
add_action( 'after_setup_theme','tu_remove_gp_premium_notices' ); function tu_remove_gp_premium_notices() { remove_action( 'admin_notices','generate_premium_theme_information' ); }
March 23, 2017 at 11:05 am #296412antwareThanks Tom. Gosh ain’t the world full of scaly people.
Just to confirm this gets added to my child theme’s function.php file?
March 23, 2017 at 11:09 am #296420TomLead DeveloperLead DeveloperThat’s correct π
March 23, 2017 at 11:16 am #296426antwareAs always a pleasure. Thanks again Tom. Greetings from South Africa.
March 23, 2017 at 7:55 pm #296564TomLead DeveloperLead DeveloperNo problem π
May 24, 2017 at 11:50 am #323615AndyThanks Tom just building a new site with latest GP and this solved my issue too.
May 24, 2017 at 12:17 pm #323631TomLead DeveloperLead DeveloperGlad it helped π
June 24, 2017 at 12:24 am #338231PradeepJust wanted to say thanks for the tip.
September 21, 2017 at 8:09 am #389462Guy WoodGreetings —
I just want to ensure I understand correctly.
I struggle with Generate Press (my issue, not yours) but I’m still trying to use it on a few sites.
However, I found a pre-built WordPress theme (WordPress 2017) that does pretty much exactly what I want for one site so I installed and activated it.
Now I get this message: “GP Premium requires GeneratePress to be your active theme. Install now.”
Just to be clear, can I just keep using the WordPress 2017 theme and ignore that GP Premium text or will this cause some sort of problems with this or other sites?
Thank you for your help.
— GuySeptember 21, 2017 at 10:43 am #389552LeoStaffCustomer SupportHi there,
Yup you will be fine. You can chose to remove the message with Tom’s code above: https://generatepress.com/forums/topic/gp-premium-requires-generatepress-to-be-default-theme-message/#post-296388
September 21, 2017 at 11:12 am #389567Guy WoodThank you so much, Leo.
I’m an old dog learning new tricks here so the GeneratePress thing is coming to me a bit slower than I’d hoped for. I’d like to stick with GeneratePress as much as possible, but the pre-packaged or pre-formatted WordPress 2017 theme was a little easier for the site I’m working on today.
I’m not abandoning GeneratePress, though.
Onward!
— GuySeptember 21, 2017 at 11:53 am #389579LeoStaffCustomer SupportYou’re very welcome π
Definitely takes a bit of learning to master GP but we are always here to help!
March 10, 2018 at 12:50 am #516163GemHi, I get this message too but I use multisite with multiple client sites in sub directories. thoses site use either Astra Pro or GP Pro, Gp Pro is now prompting the line below on all sites that run Astra:
“GP Premium requires GeneratePress to be your active theme. Install now.”
My question is:
1. How can I bulk remove this message?
2. Do I edit/add the code you gave above to a certain file in the network directory?Many Thanks in advance π
-
AuthorPosts
- The topic ‘GP Premium requires GeneratePress to be default theme message’ is closed to new replies.