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 How to Make a Website with WordPress Customizing WordPress Themes How to Make Child Themes

Adrian Castro
Adrian Castro
339 Points

Where and what is the project dowloads?

I would like to know what exactly tje video is refering to when talks about copying the style.css file from the project downloads.

Also, if you are building different websites should you have a different folder with the wp files and theme for each website in your local computer? what is the best practice for this?

Cheers

4 Answers

Erik McClintock
Erik McClintock
45,783 Points

Adrian,

Beneath each course video that you watch, you should see a set of tabs, including Teacher's Notes, Questions, Video Transcript, and Downloads. If you click on the Downloads tab, you should find a .zip file called "Project Files", if there are files to download for that particular course.

And yes, anytime you are making a new website, it is generally considered best practice to keep all files that pertain to it in their own unique folder for that site.

For example, if I was making three different websites, two of which were WordPress sites, and one that wasn't, this is how my file structure might look (starting with a parent folder called "Web Projects" on my Desktop):

Web Projects (folder to hold all of my web projects)
  -Site One (folder to hold Site One and all its files/folders)
    -wp-admin
    -wp-content
    -wp-includes
    -//bunch of files that a WordPress download comes with, including the all important wp-config.php
  -Site Two (folder to hold Site Two and all its files/folders)
    -wp-admin
    -wp-content
    -wp-includes
    -//bunch of files that a WordPress download comes with, including the all important wp-config.php
  -Site Three (folder to hold Site Three and all its files/folders)
    -img
      -logo.png
      -avatar.png
      // etc.
    -css
      -style.css
      -style.min.css
      // etc.
    -js
      -script.js
      -script.min.js
      // etc.
    -src
      -header.php
      -footer.php
      -index.php
      -about.php
      -contact.php
      // etc.

Happy coding!

Erik

Regarding the project files:
When you select a lesson, just below the video there are some tabs. Typically the tabs are: -Teacher's Notes -Questions -Video Transcripts -Downloads. If you select the Downloads tab you will see the Project Files which you are then able to download. Regarding different websites: If you have a computer setup for production you do need a different folder for each website you are working on, making each sub to the LOCALHOST directory.

Adrian Castro
Adrian Castro
339 Points

Really helpful guys, thanks a lot, everything is coming together nicely now!