Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I was using the Pinboard theme, but want to make modifications to it. Instead of editing the theme files directly, I wanted to try to make my changes using a child theme.

Following the codex, I created a new folder named pinboard-child under /wp-content/themes/. I created a style.css file, added the code below, and threw it in the folder.

/*
Theme Name: Pinboard Child
Theme URI: 
Template: pinboard-child
Description: Child theme for the Pinboard theme
Author: One Designs, modified by me
Version: 1.0
Tags: 
*/

@import url("../pinboard/style.css");

body {
   background-color: #FF0000;
}

(I added the body styling just to see if everything worked as expected)

I navigated to /wp-content/themes/pinboard-child/style.css to verify my file was in the correct location, and everything showed correctly.

After I network-enabled the theme, I found the theme sitting in my Appearance menu, although the preview image was gray. I clicked on "activate", and Wordpress came back with the message "The active theme is broken. Reverting to the default theme." and set my site's theme to Twenty Twelve.

After scouring the internet, I'm at a complete loss as to what more I can do. Does anyone know 1. what might be causing this issue and/or 2. what I might be able to do to fix it?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

"Template" should reference the parent theme:

Template: Pinboard
share|improve this answer
    
You've got to be absolutely kidding me. I destroyed that codex page, taking each step slowly so I wouldn't screw anything up, and I do that?! I can't believe it. Thank you for your answer. –  Xyan Ewing Jan 15 '13 at 22:05
2  
time to catch some sleep ;) –  diggy Jan 15 '13 at 22:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.