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

The Wordpress doesn't recocnize the child file , it says that can't find the main Theme . But it is installated.

The Wordpress doesn't recocnize the child file , it says that can't find the main Theme . But it is installated the main theme . I'm trying with a different theme than the one in the video . I'm using Reden . Thank you . Natalia

5 Answers

I finally found the problem!!!! ... my spelling of the Template name was wrong... Thank you for your help!

yes, i copy form the main theme the header of the style.css

did you change the data in the comments in style.css?

I.E. Theme name, Theme discription?

I changed but maybe i did it wrong...

/* Theme Name: Renden Child Template: Reden Theme URI: http://www.thinkupthemes.com/free/renden-free/ Author: ThinkUpThemes Author URI: http://www.ThinkUpThemes.com Description: Renden is the free version of the multi-purpose professional theme (Renden Pro) ideal for a business or blog website. The theme has a responsive layout, HD retina ready and comes with a powerful theme options panel with can be used to make awesome changes without touching any code. The theme also comes with a full width easy to use slider. Easily add a logo to your site and create a beautiful homepage using the built-in homepage layout. Version: 1.2.16 License: GNU General Public License License URI: /licenses/license.txt Tags: black, dark, red, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, fixed-layout, responsive-layout, fluid-layout, custom-header, custom-menu, full-width-template, theme-options, threaded-comments, editor-style, featured-images, featured-image-header, post-formats, sticky-post, translation-ready, flexible-header, gray, light, white, custom-background, grid-layout, footer-widgets, blog, e-commerce, education, entertainment, news, photography, portfolio Text Domain: renden */

you should add a custom themplate name not just Renden child theme, maybe the site you are working for's name-child theme also at the end you need to add the template key to the comments at the end. so it should look like this:

/*
Theme Name: Jacob's Child Theme
Author: Jacob Mishkin
Author URI: https:
Description: A Child Theme of the Twenty Sixteen Theme
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentysixteen
Template: twentysixteen  ***add this to your comments. 

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

and lastly is the file name the themes name -child like in the video's? under htdocs/wp-content/themes/your child theme here?

Thank you Jacob. I did this, but it still says the same... I already named child like in the video'sunder htdocs/wp-content/themes/ child theme is ok like this the style.css or i miss something? /* Theme Name: LTCorp SA Child Theme URI: http://www.thinkupthemes.com/free/renden-free/ Author: ThinkUpThemes Author URI: http://www.ThinkUpThemes.com Description: A child theme of Renden Version: 1.2.16 License: GNU General Public License License URI: /licenses/license.txt Tags: black, dark, red, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, fixed-layout, responsive-layout, fluid-layout, custom-header, custom-menu, full-width-template, theme-options, threaded-comments, editor-style, featured-images, featured-image-header, post-formats, sticky-post, translation-ready, flexible-header, gray, light, white, custom-background, grid-layout, footer-widgets, blog, e-commerce, education, entertainment, news, photography, portfolio Template: reden Text Domain: renden */

in your style.css file, did you add the name of the child theme? Let's start from there and work up to find the problem.