Twenty Twenty Two – Migrate Templates (all settings) to Child Theme
-
I have done customization on the Twenty Twenty Two theme – Parent. Both basic custom settings and created new Templates and Template Parts.
After this I realized I needed a child theme.
No problem creating the style.css etc and get the child theme to activate.But the customized Templates AND Template Parts are not working. Or actually one is, the sidebar. That one is up and looks great.
But header and footer are gone, no matter what I do it is not possible to customize, I can select one of the main that comes with the theme.I have tried (in child theme:
Create same folders in child theme, copy/paste from parent
Exported and Added files from FTP
Create new template parts.
Add/delete template.json file
Add/delete function.php file (seems to work best without that one for the settings that works now)
Add folder block-template-parts instead of template-partsNothing works. I get this message on my site(not in editor): “Template part has been deleted or is unavailable: header”.
So, I need some help how to solve this. Any suggestions?
Also, where are these settings for Custom Templates and Parts stored. Directory? Can′t find it anywhere.
Thanks for any help anyone can give to solve this.
- The topic ‘Twenty Twenty Two – Migrate Templates (all settings) to Child Theme’ is closed to new replies.