[Resolved] GP Premium requires GeneratePress to be default theme message

Home Forums Support [Resolved] GP Premium requires GeneratePress to be default theme message

Home Forums Support GP Premium requires GeneratePress to be default theme message

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #296193
    antware

    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.

    #296196
    antware

    Also 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.

    #296388
    Tom
    Lead Developer
    Lead Developer

    New 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' );
    }
    #296412
    antware

    Thanks Tom. Gosh ain’t the world full of scaly people.

    Just to confirm this gets added to my child theme’s function.php file?

    #296420
    Tom
    Lead Developer
    Lead Developer

    That’s correct πŸ™‚

    #296426
    antware

    As always a pleasure. Thanks again Tom. Greetings from South Africa.

    #296564
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

    #323615
    Andy

    Thanks Tom just building a new site with latest GP and this solved my issue too.

    #323631
    Tom
    Lead Developer
    Lead Developer

    Glad it helped πŸ™‚

    #338231
    Pradeep

    Just wanted to say thanks for the tip.

    #389462
    Guy Wood

    Greetings —

    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.
    — Guy

    #389552
    Leo
    Staff
    Customer Support

    Hi 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

    #389567
    Guy Wood

    Thank 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!
    — Guy

    #389579
    Leo
    Staff
    Customer Support

    You’re very welcome πŸ™‚

    Definitely takes a bit of learning to master GP but we are always here to help!

    #516163
    Gem

    Hi, 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 πŸ™‚

Viewing 15 posts - 1 through 15 (of 23 total)
  • The topic ‘GP Premium requires GeneratePress to be default theme message’ is closed to new replies.