OllieWP / ollie

A finely-crafted WordPress block theme by Mike McAlister
https://olliewp.com
GNU General Public License v3.0
361 stars 48 forks source link

Ollie child theme "broken" when using Create Block Theme plugin #31

Closed gregfarries closed 1 year ago

gregfarries commented 1 year ago

child theme with Ollie... I've attempted to use the Create Block Theme WP plugin to create a child theme of Ollie, and it doesn't seem to work.

Screenshot 2023-05-12 at 4 30 24 PM

I get an error stating the parent theme, Ollie isn't installed.

I'm using the "Create child of Ollie" functionality in Create Block Theme, and this functionality works when making a child theme of say, Frostwp...

Here is the exported folder structure when creating a child of Frost:

Screenshot 2023-05-12 at 4 33 48 PM

But this is what happens when creating a child of Ollie:

Screenshot 2023-05-12 at 4 34 51 PM

Any ideas?

Thanks!

mikemcalister commented 1 year ago

Hey there, I'm not seeing any problem with generating a child theme with Create Block Theme. I'm able to create and activate a child theme with no error message.

A note about the folder structure. That isn't always going to be the same theme-to-theme or site-to-site, so that doesn't necessarily indicate it's broken. If you edit the theme via the editor (wherein it saves template or template part variations to the db) that can affect the child theme it generates.

Here's the Ollie child theme I generated:

Screen Shot 2023-05-13 at 12 30 38 PM

Because I modified my header template part, you see that was included in the child theme.

Here's the Frost child theme I generated:

Screen Shot 2023-05-13 at 12 27 01 PM

I didn't modify this theme at all, so it's a standard starter child theme with the readme, a stylesheet, and a theme.json file.

In terms of the error that is showing, I can't say for sure what that's about because I can't reproduce it. I guess make sure that this line in the Ollie child theme says ollie, just as seen here.

Screen Shot 2023-05-13 at 12 38 14 PM
mikemcalister commented 1 year ago

Feel free to reopen this if it's still an issue!