admin管理员组文章数量:1130349
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.
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.
本文标签: Hestia Child theme creation
版权声明:本文标题:Hestia Child theme creation 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749028255a2305449.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论