create-block-theme icon indicating copy to clipboard operation
create-block-theme copied to clipboard

Several Missing Block Pattern Templates when Cloning Blockbase Theme

Open karks88 opened this issue 3 years ago • 1 comments

I was experimenting with the plugin and making changes to the Blockbase theme. When I import the cloned theme into another local WordPress install, I get several errors regarding missing block pattern templates. For example:

Warning: file_get_contents(www.mytestsite.dev.cc/wp-content/themes/cloneofblockbase/block-template-parts/header-centered.html): failed to open stream: No such file or directory in www.mytestsite.dev.cc\wp-content\themes\cloneofblockbase\inc\block-patterns.php on line 55

Exporting as a child theme seems to be a good workaround at this point.

karks88 avatar Jul 06 '22 16:07 karks88

Possible duplicate of https://github.com/WordPress/create-block-theme/issues/65

MaggieCabrera avatar Jul 11 '22 08:07 MaggieCabrera

Exporting Blockbase seems to work as expected (both as a clone and with child themes). Including changing templates and patterns. This appears to have been fixed at some point. Closing as complete. Please reopen if it continues to be a problem.

pbking avatar Apr 29 '24 13:04 pbking