Edit php child theme
-
How do I edit the php files (header, footer, etc) of a child theme without running into problems (i.e. having to re-do all my edits) if/when the theme is updated?
For example, if I edit the parent theme header.php to include some text, I will have to re-insert that once the parent theme is updated. I *could* copy the parent header.php to my child theme and then insert the text. But when the parent theme is updated, I’ll still need to copy the new parent header.php to my child theme, THEN re-insert the text. How do I get around this? Can I make such edits in my style.css (or another file) that will persist through parent theme updates?
Thanks in advance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Edit php child theme’ is closed to new replies.