Child Theme Query
-
Hi!
I have a purchased theme from Themeforest but have made a few changes to some files and to functions.php
I read the page in the codex about child themes and it seems too simple so I’m probably not understanding it.
I wanted to check:
– A child theme will allow the parent theme to be updated without losing an updates I have made to the theme file.
– Any file except functions.php from the child theme will be loaded instead of the same file in the parents theme – replacing it.
– functions.php (child) will be loaded before functions.php (parent) but both will be loaded so the functions.php (child) should only contain additions
So in practice, I had some help the other day in adding a widget to my theme and I made changes to the functions.php – now if as is when the theme gets updated I will lose the changes so I should remove the changes from functions.php (parent), create a new file and place it in the child directory?
Is that basically correct or have I oversimplified it all?
- The topic ‘Child Theme Query’ is closed to new replies.