Override parent files from childtheme
-
Greetings everyone,
a quite basic question here. For some reason I am searching everywhere for a solution and I can not find anything. Let me start explaining what I need.
Got a parent theme called ‘traveler’. I have also created a child theme. Some files copied from the parent to the child theme after the customizations work just fine, the website changed and everything runs smoothly. the problem appers when I am trying to override some specific files (its about specific folders then files). For example the path /inc/admin/class/… contain some files mostly handling the requests from forms. Copying those files in the child theme and creating the exact paths does not seem to work. Any changes to child theme does not have any affect to the website.
I am reading many things, some people say that this stuff that I am trying to do CAN NOT be done, some other say that I have to put some lines on every file that I have to change, bla bla bla…
I just need some explanations here, why this does not work and how can i solve this problem. I am not seeking for a solution that will crash when the update comes, I am seeking for knowledge.
Lastly, I have tried to copy the function that I have changed in the parent theme, into the functions.php file in the child theme and a white page appers. Dunno what is going wrong.
I hope this description helps and I hope that we can solve this problem one and for all.
Regards,
Vassilis
- The topic ‘Override parent files from childtheme’ is closed to new replies.