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 trial

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!