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 trialAdam Slaker
9,995 PointsHow do you properly create a child theme? Wordpress says that the one I have created is missing a template.
During the video that describes how to create a child theme, I think that I am doing something wrong after opening up the style.css file for the twentythirteen theme. I was wondering if someone could clarify how you would go about properly creating a child theme.
3 Answers
James Gill
Courses Plus Student 34,936 PointsAdam,
That's a large topic, but the most basic steps are:
- create a directory for your new theme in wp-content/themes (so, wp-content/themes/your-new-theme).
- Create a file named "style.css" in that new directory, and customize it as you wish. That style.css must contain some specific text--you can find it here: http://codex.wordpress.org/Child_Themes
That's the absolute minimum you need to create a child theme.
Adam Slaker
9,995 PointsAwesome! Thanks James, I will give that a shot! Thanks for the quick response.
Adam Slaker
9,995 PointsTried out your link and it worked just fine. Thanks again James!