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

Cynthia & Ryan Lim
Cynthia & Ryan Lim
4,251 Points

How do I create a Child theme if I've installed the theme via WP admin (Appearance>Theme>Install)?

The child theme demo by Zac shows the Theme (twentythirteen) being on both local and WP on the FTP. He then created a child theme on the local site. My question is, if I had installed a theme via WP admin, the theme is not yet downloaded to the local site. In that case, is it still possible to create a child theme? Or is it mandatory to download the themes from Wordpress.org instead?

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,252 Points

You should be able to create child theme by first making the folder and files locallay and then uploading the theme via FTP. It would go alongside the main (parent) theme like this .

parenttheme (directory) parenttheme-child (directory)

And so long as WordPress has the required files WordPress should know that you want to have a child theme.

Cynthia & Ryan Lim
Cynthia & Ryan Lim
4,251 Points

How about the other way around? If I installed WP theme through WP admin, the theme file is not local yet. Do I just drag it over in FTP to download? Just checking if it is an essential step to download the file locally.