Thread Starter
Anonymous User
(@anonymized-23325111)
Feels like this is related to this post on the Gutenberg plugin page, but it wasn’t resolved. Also, at the provided link in the other post it explicitly says
You can only rename a custom template that you created. This means the default templates in WordPress and custom templates that came bundled with your theme cannot be renamed.
Since the templates I’m referring to seem to have been saved into my block theme it’s not allowing me to change them. I’ve tried in the theme styles files as well, but don’t see a way to do it here either.
You can rename theme in style.css header. This is the same as in classic themes. For templates, you can’t rename templates based on built-in templating system (e.g. index.html, home.html, page-{slug}.html etc). You can rename custom templates which are assigned to page or post in editor UI by user. The easiest way is in theme.json customTemplates property. You can also rename templates parts, also in theme. json.
Thread Starter
Anonymous User
(@anonymized-23325111)
Thanks for replying, but whenever I try to change anything in the JSON it doesn’t let me. I have very limited coding skills and I’m not really interested in editing that way. I only looked into it because the UI wasn’t giving me any other options. Are things like this always going to be blocked behind complicated JSON or will there be improvements in the user experience around themes, templates etc? There’s a lot of broken or half built features that don’t make sense and make it difficult for non-technical people to truly own their website customization and design. I’m a UX designer and I really like improving systems and experiences so that’s why I’m trying to figure this out and push for something better so that both people who enjoy coding and getting into the JSON and people who don’t can all enjoy a great WordPress experience. Plus, I want things to work better for my WordPress so I can spend less energy in maintenance, troubleshooting, etc, and more energy doing the things I actually enjoy about WordPress.