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

Child theme not appearing.

I see the correct files and extensions in the correct place on my live site's folder, but the new themes aren't there. Please assist.

2 Answers

Is your folder structure setup and style.css set up like this (using your themes name of course)?

WordPress/contents/theme/mychildtheme/style.css

/*
Theme Name: mychildtheme
Theme url: http://www.websitename.com/
Description: Twenty Eleven Child Theme
Author: my name
Author url: http://websitename.com/
Template: twentyeleven
Version: 1.7
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twenty-eleven
*/

@import url("../twentyeleven/style.css");
Travis Granger
Travis Granger
2,745 Points

Can you please explain the importance (implication) of the folder structure setup? My folder structure setup for the parent theme is '.../wp-content/themes/theme_name/theme_name/style.css' and my structure for my child theme is '.../wp-content/themes/theme_name/style.css'. Could this be the reason of why I'm getting the error "The parent theme is missing. Please install the "Flexform" <<i.e. theme name>> parent theme."

The parent theme is installed an active and I have confirmed that the capitalization is correct under "Template". I have also tried changing the folder structure of my child theme to have an extra '/theme_name/' to match the parent theme but this didn't fix the issue. Please help!

Thanks!

I see it! I was missing a forward slash. Thank you!!!

Glad you got it working!