Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress How to Make a Website with WordPress Customizing WordPress Themes How to Make Child Themes

Adam Slaker
Adam Slaker
9,995 Points

How 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

Adam,

That's a large topic, but the most basic steps are:

  1. create a directory for your new theme in wp-content/themes (so, wp-content/themes/your-new-theme).
  2. 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
Adam Slaker
9,995 Points

Awesome! Thanks James, I will give that a shot! Thanks for the quick response.

Adam Slaker
Adam Slaker
9,995 Points

Tried out your link and it worked just fine. Thanks again James!