[Bug] Blocks "pattern placeholder" bug
Opened this issue · 2 comments
nathan-schmidt-viget commented
nathan-schmidt-viget commented
Figured out what it is. When a new site is created the twig
files don't get updated to the theme name. So they are still left as
{% set template = [
[
'core/pattern',
{
'slug': 'wp-starter/text-image-inner-blocks',
}
]
] %}
When the slug should be 'slug': '[sitename]/text-image-inner-blocks',
Updating all the wp-starter
in the Twig files fixed the problem.
nathan-schmidt-viget commented
Looked through the composer files, but could not pin point how to replace the string in the twig files. 🤔