Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Translating using Child-Themes in WordPress Reply To: Translating using Child-Themes in WordPress

#157557
Alexander
Participant

Thanks for your answer!

For example, lets say i have a parent theme called “Test”
Within “Test” i have a folder called “Templates” where i would like to edit a file called related.php

I would then copy that file and place it within my child theme called “Test-child”, which doesnt work.
Neither does creating a identical folder called “Templates” and placing the file there. It still calls the related.php file from the parent theme.

TL;DR
All files that are located in the “root” of the parent theme can be overided successfully by placing copy in the “root” of the child theme. However files that are in sub-folders doesnt overide files in sub-folders of the child theme.

I hope you understand what i mean. Thanks!