$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Hestia Child theme creation|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Hestia Child theme creation

matteradmin10PV0评论

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 badges
Add a comment  | 

1 Answer 1

Reset to default 1

Yeah, 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.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far