I'm working on creating a child theme of Hestia for my own website but I'm just not getting where the code is supposed to go in my child theme coding. I know how to design websites and I'm familiar enough with code to make the changes if I know where to look to do it.
I know what file I need to edit (hestia\inc\views\main\class-hestia-footer.php) in my main file, but when I updated Hestia it was all lost. Also, I had to edit the main file of my Hestia template to get it to even show up.
Plus in all actuality, I don't even want to have the main template of Hestia I just want to have the one that I'm working on be the one that I utilize. It's for my website only, I'm not distributing it or anything.
I'm working on creating a child theme of Hestia for my own website but I'm just not getting where the code is supposed to go in my child theme coding. I know how to design websites and I'm familiar enough with code to make the changes if I know where to look to do it.
I know what file I need to edit (hestia\inc\views\main\class-hestia-footer.php) in my main file, but when I updated Hestia it was all lost. Also, I had to edit the main file of my Hestia template to get it to even show up.
Plus in all actuality, I don't even want to have the main template of Hestia I just want to have the one that I'm working on be the one that I utilize. It's for my website only, I'm not distributing it or anything.
Share Improve this question asked Jan 9, 2019 at 15:38 Chris WarrenChris Warren 33 bronze badges1 Answer
Reset to default 1Yeah, as you found out you don't want to edit files directly in your theme because you will lose the changes when the theme updates.
Here is some info on child themes, if you haven't you should read it.
For your particular theme, it appears the developer offers a pre-made child theme, you just need to download it and install/activate like any other theme. Here are the docs, you may want to look them over.