8000 Template part does not save to child theme, but parent theme.json does · Issue #71 · WordPress/create-block-theme · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Template part does not save to child theme, but parent theme.json does #71

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

Open
robglidden opened this issue Jun 17, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@robglidden
Copy link

This is may be related to #67.

When I save changes to a child theme:

  • changed templates save as expected to the child templates folder
  • but changed template PARTS save to neither child nor parent, but are nonetheless removed from database, and lost

Also, the entire parent theme.json is saved to the child theme.json, which is not what I expected.

I expected only the differences to the parent theme.json to be saved to the child theme.json.

In my case I had only a new color palette in my child theme theme.json, so I expected that upon saving, the child theme.json would still have only the child color palette and nothing else.

My limited understanding is that on page load, objects in the child theme.json overwrite objects in the parent theme.json? If so, my concern is that any later update to the parent theme.json will no longer be visible because a prior version of the parent will have been copied into the child.

@t-hamano t-hamano added the bug Something isn't working label May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0