Child theme protecting customizations
-
After a long hiatus, I’m attempting to understand FSE, and Block theming. My question has to do with creating a child theme for protecting customizations (fonts, etc.) from being overwritten on updates. Are there any special instructions to consider in the style.css & functions.php files? For example, is the child themes Handbook guidance still accurately describing the required steps to take in regards to a ‘Block theme’? Are there any important guidelines or instructions specific to Blockpress to “enqueue the parent and child theme stylesheets” in the functions.php file? Also, if we copy/created templates and template parts, do we put those in the same folder hierarchy of the child as the parent theme (i.e. ‘child\parts\’ & ‘child\templates\’)? Also, does a child theme for a block theme require it’s own “theme.json” file that has to be separate from the parent theme (i.e. child\theme.json)?
Apologies for my inexperience ??
- The topic ‘Child theme protecting customizations’ is closed to new replies.