WordPress – Parent / Child Themes – Missing Header.php


https://www.youtube.com/watch?v=ebGrw1h6Hog&ab_channel=WordPressTutorials-WPLearningLab


What is a Child Theme?

Pretty much a copy of your parent theme (main theme). You make a child theme to save all of your custom edits within it, so when there’s a theme update your site isn’t affectedWhat’s on the child theme won’t be updated within the parent theme.


WordPress looks for files in child theme before looking in the parent theme. So if you have files within the child theme, they are loaded first and the parent theme’s files won’t be loaded


Elementor Hello Child Theme

So i’ve downloaded the elementor child theme onto my WP, but saw that there was no header.php file. You have to add it in through the FIle Manager.


See below! i just duplicated the file from the parent theme into the child one.  Follow the youtube video above for more info

No Header.php in the child theme!
Header.php is in the file theme after duplicating it from the parent theme!
Header.php finally shows up within the theme editor on the WP dashboard