Resolving a wordpress ‘Broken Theme – template missing’ error in our new site

New site banner

I’ve been working on a new web site which will hold Soph and my more fine art based output and the outcomes of our GPS mapping work which is currently rather buried on the planbperformance site.

I’d love to hear what you think about it. I’m using WordPress as a CMS rather than a blog (which basically entails putting content on ‘pages’ rather than ‘posts’) with a modified Origami child theme (just a few font tweaks really).

Something to note when creating a child theme: if you copy something like the Origami header to modify for your child theme styles.css file watch out – the header has to contain the line

Template: twentytwelve

(replace ‘twentytwelve’ with the name of your parent template i.e. ‘origami’) If you do copy the header from the parent theme styles.css, it might not have this, resulting in WordPress throwing an error when you try and activate it in Appearance > Themes, like

The following themes are installed but incomplete. Themes must have a stylesheet and a template… Description: Template is missing.

I first thought this meant I had to copy some sort of php file from the parent theme to my child theme folder but it turned out I didn’t have the ‘Template: ‘ line in my style.css header.

This entry was posted in Diary and tagged , , . Bookmark the permalink.