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 trialJanise Bradford
5,664 PointsChild Themes
After setting up wp on a site, and a child theme is immediately created, should we at this point start using the child theme as we proceed with building the site, instead of using the parent theme?
4 Answers
Clinton Hopgood
7,825 PointsYes make all changes in only the child theme.
FYI
Entries in style sheets from the child theme will over-write that of the parent theme
.php file such as header.php and footer.php will be replaced using the ones in the child theme (meaning the ones in the header will not be used if the child theme has them)
functions.php will be used from both the parent and child theme
Just a few tips to help you understand some interaction between the child and it's parent.
Janise Bradford
5,664 PointsThanks Clinton for the information!
jerry bremser
3,941 Pointsyes. whatever changes you make will not be affected by updates as long as you continue adding the files to the child theme
Janise Bradford
5,664 PointsThanks Jerry...appreciate it! Can I also ask you how do you go about updating the child themes with the updates/new features that are at some point given to the parent themes.
jerry bremser
3,941 Pointsif i remember correctly, updates can be applied but your theme wont change. theres actually a track covering exactly that in building a sire with wordpress' or something along those lines.
Janise Bradford
5,664 PointsOK good, thanks.
Janise Bradford
5,664 PointsJanise Bradford
5,664 PointsAlso, how will the child theme get updates or new features that are made to the parent theme?