Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEmmanuel Malave
4,448 PointsTheme is missing a template
I uploaded my theme to my website's server but it is installed but incomplete. It says it's missing a template. What can I do?
4 Answers
David Tonge
Courses Plus Student 45,640 PointsYou folder should be "thistheme" (no spaces) and your style.css should look like:
/*
Theme Name: This Theme
*/
Also remember you need a index.php in the folder also
Chwan Lii Ng
7,502 PointsThank you David! Yup, in order to solve "Theme template missing issue", you have to contain:
1)index.php (copy from twentythirteen parent folder & paste it into new twentythirteenchild folder) 2)screenshot.png (Do the same step mentioned above) 3)style.css (Do the same step mentioned above)
Thank you very much for helping!
David Tonge
Courses Plus Student 45,640 PointsHey Emmanuel,
I'll be glad to assist. First, I guess, i have some questions about your the naming of your files. Did you name your stylesheet: stylesheet.css? Sometimes that usually the problem because Wordpress looks for that file. If no, my other question is: Did you name the template right in your style.css file?
Emmanuel Malave
4,448 PointsFolder name: "this theme" Inside the folder: "style.css and screenshot.png"
This is what the folder has. I don't know why it isn't working.