Can I convert a modified Graphene parent theme to a Child theme?
Haha… if it were only that easy.
What you will want to do is grab a program that allows you to compare files to see their differences. Then, download a fresh copy of the theme, and compare the files which you have modified.
Differences will be highlighted, and you can move those functions/declarations to the child theme.
That’s how I did it the first time… before I learned my lesson 😉
No. You are not understanding the functionality of the child theme.
In it’s most basic sense, the child theme is used for two purposes.
1. To modify css used in the themes stylesheet.
2. To hook into functions provided by both the theme and WordPress.
The child theme runs “alongside” the parent theme… not “instead of”. You can’t run just a child theme. The child theme runs in tandem with the parent theme.
“not understanding the functionality of the child theme”
I think that is a common problem – Children can never be understood. Themes or real 😉
But you are right.
What is confusing, is that if changes are made to the parent theme, before a child theme is created, why aren’t they automatically seen in the child theme?
Why does it need something so complex to get the child theme to look like the parent theme, when they are so integrated?AdminQuote:What is confusing, is that if changes are made to the parent theme, before a child theme is created, why aren’t they automatically seen in the child theme?
If all the changes you’ve done is via the theme’s options page, then those changes will be retained and applied when a child theme is used.
However, if you’ve changed any of the original Graphene theme’s files, those changes won’t be transferred over to the child theme. They’ll still be in effect though — until the next time you update the theme.
You must be logged in to reply to this topic.