-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom templates are renamed after overwriting theme #184
Comments
I think we would need to add a definition to theme.json's |
Still exists with WP 6.3 RC2, Create Block Theme 1.13.1 How can we get some movements in this issue? I'd love to help (can't code though) but let me know if there's anything design-wise I could do. |
In WP production 6.3 (no additional CBT plugin) Create a child theme from TT3, and wp-admin/site-editor.php?path=%2Fwp_template%2Fall shows the file names as the Template name. Is this related to this ticket? The next screenshot shows the file system folders of TT3 (files unchanged since install) and the child theme folder. The wp-custom-template files are in the zip that is exported from the template editor: Export/Import seemed to be required, as when the child theme is active the templates are still in the database, but no longer available for use by a different theme - that makes sense. Suggestion : Include metadata in the Export and process it in the import when creating new post records. At some point that will probably be a good idea anyway. |
Work-around: Go into the theme.json of your saved/exported theme file (or child theme). Add the following at top level (same level as
postTypes doesn't seem to have any effect, but change it anyway. |
@audunmb's workaround is great, but is there any chance this is going to get fixed as it's driving me nuts!! |
The names of the custom template has changed.

FYI: The template parts have changed to all lowercase, which I like. Don't know if this is on purpose though.
The text was updated successfully, but these errors were encountered: