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 just started creating new theme in wordpress, I got the html/css, I put the heading in css like usual:

Theme Name: Your Theme Name
Theme URI: http://your-theme-homepage.com
Description: Oh what a lovely description of your theme you'll put here!
Author: Your Name
Author URI: http://your-website.com
Template: If this is a child theme, you'll set the template theme's folder name here
Version: 3.1
Any general information, license statements, plugin requirements, or any other information you
      might want to share.


and html site in the same directory.

Wordpress doesn't recognise the theme and I get error like

Broken Themes

The following themes are installed but incomplete. Themes must have a stylesheet and a template.

Name Description Wp_theme Stylesheet is missing.

or something similar.

What is EXACTLY the requirement for wordpress to register theme in directory? Is it just css heading or something else must be added?


share|improve this question

For one thing, drop the Template: ... line. Your problem is almost certainly that your stylesheet is not named style.css

share|improve this answer
Template dropped, stylesheet named style.css, now I don't get any errors, but template is not recognised anyway. Like I didn't put anything in the folder. – user1089548 Jan 11 '12 at 16:51
Do you have index.php? – mor7ifer Jan 11 '12 at 17:04
The Codex is your friend: Theme Development – Chip Bennett Jan 11 '12 at 18:16

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.