Location of Templates
-
I am in the process of creating a child theme, where the parent was generated by “Block Theme Generator” (https://fullsiteediting.com/block-theme-generator/). According to the best practices I have read, one should copy the templates to be modified from the parent’s template directory into the child’s template directory. I have done so, yet updates I make through the Editor are not reflected in the child’s corresponding template. Nor is the parent template affected. Nor do new templates appear in the in the child’s template directory. However, they do appear in the “All templates” list.
Out of interest, I’d like to know where these changes are recorded.
But in practical terms, need I be concerned? Will I be able to introduce updated versions of the parent’s templates without loosing my changes?
In advance of deployment, I am running a development environment on my Mac, using WordPress version 6.2, with MAMP running PHP7.4.33, Apache Web Server.
The topic ‘Location of Templates’ is closed to new replies.