I am using WordPress 3.2, and have been trying to create a child theme for my “twentyeleven” theme at http://www.ridgeblog.ca . Unfortunately, I’ve had little luck getting past the first few steps…
1. I create the new folder “twentyeleven-child” within my themes folder.
2. Using the following code, I create a new style.css in TextEdit (for Mac), and use FTP to upload it to the folder I created above:
Theme Name: Twentyeleven Child
Theme URI: http://www.ridgeblog.ca
Description: Child theme for the twentyeleven theme
Author: Greg Amos
Author URI: http://www.ridgeblog.ca
3. I go to my Dashboard -> Appearance -> Themes, refresh the Themes display… and to my dismay, see this message:
Twentyeleven Child\ The parent theme is missing. Please install the “twentyeleven\” parent theme.
I have tried renaming the folder, etc, but for some reason WordPress will not accept the new child theme I have created.
I note that WordPress 3.2. says “Themes must have a stylesheet and a template.”, though none of the online examples I’ve seen have any problem due to lack of templates… they just create the style.css using the code above, and WordPress instantly recognizes it as a child theme.
I have made minor tweaks to my “twentyeleven” theme, so I am wondering if this is a problem. I am hoping I don’t have to re-install twentyeleven, however if this is the best solution I will do it.
- The topic ‘Child theme not working for twentyeleven theme’ is closed to new replies.