|
Today I thought I'd try making a child theme on my WP site. I am using Twenty Ten, but every time I update the theme or WP it reverts back to its defaults and I have to spend an hour or so putting everything back. So I thought I'd try to make a child theme.
I followed a couple tutorials and I have a folder I created under "wp-content/themes" which is named for my new child theme, and I have a stylesheet inside it with the proper header text (including the @import line). It appears on my Theme page in my dashboard so I know I did it correctly.
The only problem is that when I updated to WP 3.0.4 my theme once again reverted back to its default look and I had to spend another hour fixing it. Obviously something isn't working, because the child theme is suppose to save me from having to do this.
In all the child theme tutorials, everyone seems to be saying that you only edit the CSS file to create the child theme, and it just pulls all the PHP files, verbatim, from the parent. But what if I've made a lot of changes to the other PHP files? I tend to butcher the PHP files just as much as the CSS when customizing a theme. So what do I do in these instances? How do I include these other changes to these other files in the new child theme folder?
I am just wondering if anyone can help me figure this stuff out. I would appreciate any help.
Thank you.
__________________
"The artist is nothing without the gift, but the gift is nothing without work." - Emile Zola (1840-1902)
Last edited by Desktop; 01-02-2011 at 08:00 PM..
|