• philbee

    (@philbee)


    Is there a way to transform a Child Theme created using Create Block Theme to a fully stand-alone Theme?
    I’ve used the brilliant Create Block Theme plugin to create multiple block themes, all as child theme of Automattic’s Block Canvas starter theme. Now developpment on Block Canvas seems to have stopped (Github repo is archived and set to read-only, and there’s a note that “public theme development has moved to the GitHub Enterprise repo. More info and context over at pNEWy-iBK-p2” (whatever this cryptic pNEWy-iBK-p2 might be); additionally there’s an unrelated “Block Canvas” theme now available on WordPress.org, which all my sites propose to falsely update to.

    So now I’m looking for a way to transform my Block Canvas child themes into independend stand-alone themes, which I cloud have done when I did the first “create Theme” operation, but can’t find a way to do now.

    Thanks for any heads-up!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sarah Norris

    (@mikachan)

    There isn’t a way to transform a child theme to a parent theme via Create Block Theme yet, unfortunately. You would need to copy all things from the parent theme and remove the references to the parent theme in the style.css header. Or you could make a copy of Block Canvas, rename the folder, update the style.css, and copy in the child theme things.

    I can also confirm that while Block Canvas isn’t receiving any updates now, this is because the blank theme that can be created using the Create Block Theme plugin is the recommended starting path for new themes, rather than using an existing theme.

    Sorry I couldn’t be of more help. Hope you found a good way around this!

    Thread Starter philbee

    (@philbee)

    Hi Sarah,
    thanks a lot for the heads-up (and the brilliant plugin)!
    I’ve been trying to use Create Block Theme’s “save changes to theme” and “save as blank theme” options, but currently this does not save much beyond custom fonts – any changes to Theme colors, Theme Layout options or Theme font sizes are not saved to the theme.json file and thus reset when saving; guess I’ll just continue to change these settings using a text editor.
    As to saving a Block Canvas child theme into stand-alone, I’ve started back-porting pieces of theme.json, style.css and function.php, so far successfully I think.
    Thanks, Phil

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Switch child theme to standalone’ is closed to new replies.