Should a child theme inherit the parents theme options?
-
Hi, first… thanks for helping a newcomer.
I successfully created a child theme in a new folder containing nothing but style.css that references a purchased parent theme. I understand this to be the safest way to make changes to a theme while avoiding future overwrite issues during updates.
The problem (or not, that’s why I’m here) is that on the child’s ‘Live Preview’ only some of the parents Theme Options have been inherited: ie. the Site Title & Tagline carried over but Header Image and Navigation settings didn’t.
I realize it is quick and easy to re-Customize the child theme, however my question is more about what one should expect when creating a child theme.
– Should all the Theme Options be inherited or is it normal for only some?
– Are there any other settings or options that don’t get inherited by a child theme?
I did read the documentation and have a grasp on how functions.php is inherited, and how css cascades… I guess I didn’t read enough because I was surprised to see the child theme showing the default Theme Options in some places (ie the theme logo in the header instead of mine, no main menu). I assumed the child, with nothing other than style.css file @importing the blank parent theme style.css (which, as a sidenote, seems like an odd first step… but that’s what the tutorial said)… I assumed the child would be a mirror copy of the parent theme and that any Theme Options set on /wp-admin/customize.php in the parent would be saved in the database and used in the child.
If anyone can shed light on what I’m plainly missing that would be great!
Thanks!
- The topic ‘Should a child theme inherit the parents theme options?’ is closed to new replies.