Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress WordPress Theme Development Starting a WordPress Theme Setting Up A WordPress Theme Folder

Martina Carrington
Martina Carrington
15,754 Points

Treehouse -portfolio folder

I have Question , do you save the Treehouse portfolio into htdocs ? or other location .

6 Answers

Kevin Korte
Kevin Korte
28,105 Points

htdocs is typically the default "root" folder for localhost software. This is typically where you would install wordpress, and then you would put themes and plugins in the correct wordpress folders based off that.

Martina Carrington
Martina Carrington
15,754 Points

@Kevin Korte do i install the project folder from treehouse get the themes and plugins because i created a folder called treehouse-portfolio with blank style .css , function .php and index .php.

Martina Carrington
Martina Carrington
15,754 Points

@Kevin Korte i didn't really need created other folder ?

Kevin Korte
Kevin Korte
28,105 Points

After you install wordpress in the htdocs folder, you'll have to manually put the theme folder you download into the themes folder in your wordpress installation.

Martina Carrington
Martina Carrington
15,754 Points

oh ok ! that made sense . i got total lost in the lesson because i though you just download it and that it . thanks for help Kevin

Martina Carrington
Martina Carrington
15,754 Points

Kevin Korte the reason i got lost because i have a PC instead of the MAC . I am using the Xampp .

Kevin Korte
Kevin Korte
28,105 Points

It should be exactly the same. I use Windows 8 at work with Xampp, and I have a Macbook Pro at home with MAMP and both have almost identical folder structures, both of which are called htdocs, which by default is MAMP's and XAMPP's root location. Did you get if figured out?

Kevin Korte
Kevin Korte
28,105 Points

Awesome! You're welcome Good luck and happy coding!