WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm beginning to learn theme creation, so I have created a simple theme:


Why does it appear as a broken theme ("missing template") in WordPress?

style.css :

Theme Name: Kaoka
Description: Theme personnalise pour le site Kaoka
Version: 0.1
Author: Agence Nature / Brunet Production
* {

index.php :

<!DOCTYPE html>
    <meta charset="utf-8">
    <title>Mon premier tutoriel</title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css">
    <h1>Bienvenue sur le site <?php bloginfo('name'); ?></h1>
    <p><?php bloginfo('description'); ?></p>
share|improve this question
up vote 0 down vote accepted

Your CSS file should be in the root of your theme, not in a folder

Edit: in case I wasn't clear, you need to take the CSS file out of the css folder, and place in the my_theme folder itself. It should be on the same depth as index.php

share|improve this answer
Yes ! it was simple as that ! But it's weird, as my css file was detected. The Theme tabs in BO was displaying the info I put in the header... Anyway, thanks a lot. I currently don't have enough reputation to remove the -1, but your answer deserve it. I don't understand why it was downgraded – Matthieu Nov 28 '13 at 13:32

Your Answer


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.