Site logo

[Resolved] need to activate generatepress before child theme otherwise child renders blank

Home Forums Support [Resolved] need to activate generatepress before child theme otherwise child renders blank

Home Forums Support need to activate generatepress before child theme otherwise child renders blank

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2550343
    Stew

    I install WordPress via a bash script using WP CLI and I noticed that if I activate a child theme of generatepress (for example the blank starter child theme found here https://docs.generatepress.com/article/using-child-theme/) without first activating generatepress itself, the home url shows a blank page.

    To see whether this happens with other themes I created a child theme of twentytwentythree (style.css has Template: twentytwentythree) and activated it without activating its parent, and it rendered the home page using the parent theme as expected.

    For now I just activate generatepress and then activate its child theme, but I was wondering why this is necessary (assuming this is reproducible)?

    #2550360
    Stew

    Nevermind, I tested this again using a cut-back version of my installation script that does not re-import the database and de-activates all plugins and does not set any generate_* options, etc, and it seems to work fine when I just activate the child theme without having to activate generatepress first.

    #2550472
    Ying
    Staff
    Customer Support

    Glad you’ve got this sorted 🙂

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