Friday, 18 June 2010

WordPress Broken Theme : Template is missing

I came across an interesting bug on a Wordpress development project I was working on this week. The issue was that the Wordpress Theme was reported as a Broken Theme because the "Template is missing" on the Appearances->Themes admin page.

In most cases the site was performing as expected using the allegedly broken theme, however the custom template selection was no longer available on the Pages admin page. (This is where I first spotted there was a problem and then discovered the Appearances->Themes admin page.)

After poking about for a bit, I traced the problem to a rather innocuous looking line the designer had added to the theme's style.css file.


It's just the "TEMPLATE:" portion that caused the style.css parser to fail. This line works just fine:


I doubt this error comes up often, but it took a few minutes to track down the problem so I thought I'd post something here to hopefully save somebody time in the future.


  1. Thanks for your informative article. Your blog is loaded with awesome information. Please include RSS field shat that we can receive your latest post direct to my inbox. Wordpress Course in Chennai

    1. IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes. IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble.Final Year Projects for CSE

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining .

      Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

      The Angular Training covers a wide range of topics including Angular Directives, Angular Services, and Angular programmability.Angular Training

  2. You have finished a surprising job with you website. wordpress themes

  3. If you are looking for good web Development Company that can help you to achieve your goal then you need HIP. hire wordpress developer

  4. Thanks for your informative article. Your blog is loaded with awesome information.
    qtp training in chennai

  5. Great post. I like your post, Thanks for sharing.
    ios training in chennai

  6. We are offering you the best Best Winter Boots For Women In 2017. check it now

  7. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us. Do check Six Sigma Training in Bangalore | Six Sigma Training in Dubai & Get trained by an expert who will enrich you with the latest trends.

  8. Hi there I am so thrilled I found your website, I really found you by mistake, while I was browsing on Yahoo for something else
    safety course in chennai

  9. Amazing Article ! I have bookmarked this article page as i received good information from this. All the best for the upcoming articles. I will be waiting for your new articles. Thank You ! Kindly Visit Us @ Coimbatore Travels | Ooty Travels | Coimbatore Airport Taxi | Coimbatore taxi

  10. Thanks for your informative article. Your blog is loaded with awesome information.


  11. This comment has been removed by the author.

  12. I have been reading for the past two days about your blogs and topics, still on fetching! Wondering about your words on each line was massively effective.... Candidates can check their result easily within few seconds through this page when the officials release Sarkari result. On our webpage, we are providing all the State Government/ Central Government/ PSC/ Entrance Exam Results

  13. You can undoubtedly peruse and alter anything you compose with Grammarly's free composing application. Grammarly for Windows clients will be completely verified by Grammarly for proficient clients by coordinating it. Grammarly Premium Crack

  14. The wi-fi safety consultant component, protect the consumer from intimidation that happen from wireless relations specially, the application check such wireless network linked to your computer and give alerts of their safety rank. Bitdefender Total Security Download