Child themes and .PHP files
-
Hello,
I am trying to understand .PHP files and child themes. I need to edit footer.php for my child theme, but the only file in my child theme that I can access is style.css. From what I’ve experienced before, if I copy any code I want to change in my child theme, I can add it to my child theme’s css and it overrides my real themes css. I only copy the speicific code I want to change so that no other css code gets overridden.
Is the same true for .PHP files? Is it as easy as copying my footer.php into my child theme, deleting all code I dont want to make changes to, and changing the code snippets I need to change? And if so, what if the theme makes any other changes to footer.php in the future? Will copying over the footer.php and editing it override all changes he might make in the future / will that cause any issues?
Thanks!
Michele
- The topic ‘Child themes and .PHP files’ is closed to new replies.