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 trialraymond pope
10,614 PointsChild theme not showing up in /wp-admin/themes.php
I followed this tutorial step by step and I have upload these files style sheet and the png screen shot with Filezilla and even though my child theme shows up in my theme folder on my server I'm still not able to see it in /wp-admin/themes.php front end. I doubled checked and even took a peek in my cpanel folders and all is there but some how the connection is not showing them. I have repeated this action at least 5 times to make sure that I've done it correctly. Now I have run out of ideas to solve this problem. Any advice is most welcome.
8 Answers
Jennifer Rai
Courses Plus Student 13,164 PointsI just want to clarify, when you say it sits within the "theme" folder, do you mean the "themes" folder or inside of your parent theme? It needs to be inside of your themes folder, not inside the parent theme. I think that is what you are saying, but I just want to make sure.
Chris Hubbard
2,253 PointsCan you post the comment block used to setup your child theme (via the style.css page) please?
Also, what is the name of the parent directory?
https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme
Jennifer Rai
Courses Plus Student 13,164 PointsHi Raymond - Which parent theme are you using, and can you please post the code from your child theme's style.css file?
raymond pope
10,614 PointsHi I'm using the same theme that Zac used in his tutorial "2013" and i've copied than pasted his project file style sheet which is as follows:
/* Theme Name: Twenty Thirteen Child Theme URI: http://http://wordpresstreehouse.com// Description: Child theme for the Twenty Thirteen theme Author: Zac Gordon Author URI: http://wp.zacgordon.com/ Template: twentythirteen Version: 1.0 */
@import "../twentythirteen/style.css";
Do the details in the comment block have any effect on the out come of the style sheet? I personally can't find a reason why it should.
Jennifer Rai
Courses Plus Student 13,164 PointsYes, the comment block is very important in this case. It is what tells WordPress that this is a child theme and which parent theme it is related to.
Jennifer Rai
Courses Plus Student 13,164 PointsHmmm... Does your themes folder contain two separate folders, one name named twentythirteen and one you created for your child theme? And is your child theme's style.css is inside of your child theme folder?
raymond pope
10,614 PointsMy Child theme is an exact copy of Zac's in the tutorial, twentythirteenchild and it sits within the theme folder. Maybe this is an issue with my host provider.
raymond pope
10,614 PointsThanks Jennifer Got it sorted! I uploaded it to the wrong file. :)
Jennifer Rai
Courses Plus Student 13,164 PointsGreat, glad you got it working!