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

When creating child theme, I must write like this.

Theme Name: 2012 Child
Template: twentytwelve

Is that Template name is always same as directory name? Or is it defined somewhere else?

share|improve this question
up vote 3 down vote accepted

According to the codex

The Template is the directory name of the parent theme

... If you want to make a child of a theme with the directory name example-theme-name, then you would use Template: example-theme-name.

So yes its always the name of the parent theme directory.

share|improve this answer

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.