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

Creating a child-theme

I use a theme from Themejug called Galao, in the style.css-file there is no such line as template - as in the video. This is wat there is in the top :

Theme Name: Galao
Theme URI: http://www.themejug.com/theme/galao Description: Galao - A beautiful design, combined with gorgeous typography. GalΓ£o creates a visually stunning way to showoff your work.

Author: ThemeJug
Author URI: http://www.ThemeJug.com

License: GNU General Public License version 3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html

Version: 1.0.7

All files, unless otherwise stated, are released under the GNU General Public License version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)

Should I choose another theme?

Doru Marginean
Doru Marginean
2,290 Points

Hi Marit,

"Template" reffers to the theme you are trying to use in your child theme. Only child themes have "template" in their style.css.

eq, if you try to make a child theme using "galao"

your folder structure: wp-content/themes/galao wp-content/themes/galao-child/

in "galao-child" add a style.css file

/*
Theme Name: Galao Child
Template: galao
*/

@import url("../galao/style.css");