How do I use customized code from parent theme in my child theme?
-
Hi,
I am new to WordPress but I’m eagerly learning my way around. I’m currently working on my company’s website and we purchased a theme from Gorilla Themes. While customizing some of the features that came with the theme, I have thus far modified the following files:
1. /functions/meta-boxes-code.php
2. /functions/menu-and-settings-page.php
3. /includes/find-cars.phpThey suggested that I do this in a Child theme and with their help I was able to setup a child theme, create a style.css file with an import statement to the parent style.css file, and activate it. However, I’m concerned now that should the parent theme get updated all the customization I’ve made in the files above will be lost. I’ve already tried copying the /functions and /includes folders into my child theme folder, but that didn’t work – WordPress simply loaded from the parent.
So my question is, how do I use the functionality of the customized files from my child theme?
- The topic ‘How do I use customized code from parent theme in my child theme?’ is closed to new replies.