How to make custom changes in my child-theme?
-
If I want to change something (remove some code) in the file “elements-head-page.php” – how do I do that?
Are these the right steps or no?
– Create a file in my child-theme with the exact same name “elements-head-page.php”
– Copy & paste the whole code from “elements-head-page.php” in the parent theme into “elements-head-page.php” in the child theme?
– Delete the code in “elements-head-page.php” in the child-theme, which I don’t needWould that be correct or no?
Some more questions:
– Do I always copy the whole code from the file in the parent-theme into the file in the child-theme?
– If I want to add some javascript code (for an analytics tool) into my header file in the child-theme, how would I do that?thanks a lot!
- The topic ‘How to make custom changes in my child-theme?’ is closed to new replies.