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 trialKhadija Head
2,745 PointsChild Theme and FTP
I am trying to create a child theme for a premium wordpress theme I purchased. I have watched the How To Make Child Theme video but get confused when the FTP software screen comes up. I use Cyberduck and host on a shared Bluehost server. Help!!! Any help will be greatly appreciated
Timothy Hooker
15,323 PointsI just realized I didn't answer your question...
So you'll need to enter all the pertainant information into Cyberduck obviously in order to connect.
If you poke around on Bluehost you may be able to find what you need but I gotta be honest, I don't think Bluehost's console is really easy to use.
You'll need an ftp user with root access ( probably a primary ) You'll need the ftp address ( you should get this when you add a user ) Finally, you'll need the ftp password which you should be able to set up. I believe the default port is 80 and that should work if I remember correctly.
Let me know if you need any more help. ftp clients can be a pain.
Leanne Wong
Courses Plus Student 81 PointsHi i am also using Cyberduck and Bluehost and encountered difficulties applying the steps in the video (01:39). I've created the style.css file on a child theme folder on bluehost but afterward, when i try to activate it on Wordpress, the layout and functionality dont work. Also i have no idea how to drag that style.css file from bluehost to the Cyberduck FTP. Help pls!
1 Answer
Kevin Korte
28,149 PointsI'll add, if you are having trouble finding where to create an FTP user, you should be able to ask bluehost to help set that up. Once you do have cyberduck logged in, it's drag and drop easy.
Timothy Hooker
15,323 PointsTimothy Hooker
15,323 PointsIt's actually easier than you might think.
Install the parent theme and then create an adjacent directory for your child theme.
so in wp-content/themes/parentTheme is your parent theme in wp-content/themes/childTheme you'll start with a style.css file.
Put this in it but obviously alter it to suite your needs
What is super important is the line that says Template. That has to be dead on the money.
Really the only lines you need ( I think ) are theses:
Here's an article on it. I would bookmark the wordpress codex. It's lifeblood to you when working on wordpress.
http://codex.wordpress.org/Child_Themes