Hi @mdquer
you can see which patterns you have installed or created by going to the “Site Editor > Pattern” screen and then click the “My patterns” option in the sidebar — that option is only available if you have any pattern of your own.
Those are the only patterns you can delete. I just tested and everything works fine for the patterns under “My patterns” — no matter how I created them.
The rest of the patterns are provided by the theme and, as a user, you cannot delete them.
Best,
André
Thank you for the answer.
When i have a custom block theme, and i have installed a template-part: general eg. template-part: header-5 as general. And this is in the block theme files.
And i want to change this to template-part: header instead.
Is there a simple possibility to do so ?
I tried: duplicate this general template part: header-5. Then rename it :header-for-sites and choose – template-part: header.
Now i have this new template-part: header-for-sites which is now under Headers, and header-5 which ist now under General. But they are the same.
It is my custom block theme. But i cant delete this template-part: general header-5. Only duplicate an rename.
And then delete this header-5 under parts in the block theme files. Then give the page.html the new header-for-sites. It does not work. When i delet it in the theme files, everything is crap.
So i think it is does not matter, if the template part ist under general instead of header. 🤷♀️😂😂😂
-
This reply was modified 8 months ago by
md_quer.
i have found the issue: i have to delcare the header in theme.json. Like so:
{
“area”: “header”,
“name”: “header-for-sites”
},
Then the system writes in the website editor my ” header-for-sites ” under > Header. And when i delete the header-5 in my theme files , it ist gone in the Website Editor and everything works fine. 😂😅
Hi @mdquer ,
I’m glad you figured it out and the issue is now solved.
Best,
André
Your post has been marked resolved.
Once the alpha version of WordPress is released, or more than a month has gone by without response, we “resolve” posts as a bit of a sanity check. It lets mods and volunteers know we don’t have to jump in and find an issue.
If you’re still having this issue with the newly released/current version of WordPress, please make a new post in https://wordpress.org/support/forum/how-to-and-troubleshooting/