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

Angelina Bethoney
Angelina Bethoney
117 Points

Trying to upload custom theme in WP, but it's searching for it's "parent theme."

I've created a new custom theme, based off the lessons in Bootstrap to WP.

This is my error:

This theme is broken. The parent theme is missing. Please install the "angelinamarie" parent theme.

My "angelinamarie" theme is new, not a child of a different theme. I'm not sure why WP is looking for a parent theme.

Has anyone else come across this? And what can I do to make sure WP is reading my files correctly?

4 Answers

Did you active a child theme with no parent in the theme options?

Angelina Bethoney
Angelina Bethoney
117 Points

I didn't activate a child theme. It is a new custom theme. That's my issue - I don't know why it is looking for a parent theme when there is not one.

Maybe in the stylesheet of your theme it says it is a child-theme? Did you check in style.css that the commented section doesn't look like a child-theme? In this video you will see how the commented section of a child-theme looks like: http://teamtreehouse.com/library/how-to-make-a-website-with-wordpress/customizing-wordpress-themes/how-to-make-child-themes Maybe in your style.css you have the same Template name as another theme in your themes folder and it is taking it as a parent?

Angelina Bethoney
Angelina Bethoney
117 Points

This is the commented out section of my code:

/* Theme Name: Angelina Marie Theme URI: http://angelina-marie.com/ Description: Angelina Marie Website Author: Angelina Marie Author URI: http://angelina-marie.com/ Template: angelina marie Version: 1.0.0 Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: angelinamarie/domain */

I don't see where it would look like a child theme...