Support » Fixing WordPress » Broken theme…. any ideas?

  • *Growls*

    I made myself a design this afternoon, and I’m having a few problems getting it to work as a 1.5 theme. I used Kubric as a templete for the files, simply broke my .htm file up into the required parts and saved over.

    However, I’m getting Broken theme: templete file missing. Well, the templete file isn’t missing (I can see it right there!). What are the possible causes for this particular error? As far as I can tell, I’ve not referenced to any files that arn’t in the directory, and all the permissions are correct (I overwrote them a few times to be sure).

Viewing 9 replies - 1 through 9 (of 9 total)
  • When I had this error happen to me, it was because I wasn’t referencing the template correctly. In other words this line in style.css was wrong:
    Template: name-of-template

    It should have been:
    Template: case-sensitive-directory-name
    (on one line)

    Hope that was your problem too. 🙂

    Moderator James Huff


    Halfelf Minion 🚀

    <i>simply broke my .htm file up into the required parts and saved over.</i>

    That’s why. They need to be php files.

    Samsm, I can’t find that line anywhere in any of my style.css files, but my themes work just fine.

    it was the case sensitive templete thing in the style.css file.

    I did save them as .php files, I’m not that dumb :p

    I think what threw me is the fact the templete: line in the style.css file said “optionally name of parent theme”, so, being the lazy bugger that I am I didn’t change it :p

    Thanks for that 🙂

    I cannot, for the life of me, find this template: line!

    This is the header of my style.css:

    Theme Name: Sato – Blue
    Theme URI:
    Description: Based on the Kubrick theme (WP 1.5’s default theme). Modified by Satoshi.
    Version: 1.5.2
    Author: Tony Lademan
    Author URI:

    It works perfectly fine.

    Hmm. Maybe if the line isn’t present it simply doesn’t look for the directory name which would be specified. Well, mine works fine after correcting that.

    Just to confirm that, yes, I’ve removed that line and it still registers the theme as “working”… so that must be the deal.

    The template line in the stylesheet is only needed if you want to base your theme on another theme. So if the template line isn’t there and everything works fine, don’t worry. 🙂

    rehash: if you raen’t basing your theme on another theme, the template line in style.css isn’t needed.

    Ah! I see how it works! I just added that line to my stylesheet and got the following message in WP: The active theme is Sato – Blue. The template files are located in wp-content/themes/default. The stylesheet files are located in wp-content/themes/satoblue. Sato – Blue uses templates from WordPress Default. Changes made to the templates will affect both themes.

    That’s pretty nifty.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Broken theme…. any ideas?’ is closed to new replies.