0

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?

1 Answer 1

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.