2

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?

1 Answer 1

8

"Template" should reference the parent theme:

Template: Pinboard
2
  • 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
    Commented Jan 15, 2013 at 22:05
  • 2
    time to catch some sleep ;)
    – diggy
    Commented Jan 15, 2013 at 22:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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