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 From Bootstrap to WordPress Add Bootstrap Components to WordPress Theme From Bootstrap to WordPress Outro

Best way to export/backup custom theme?

HI,

Thanks for this great course. The only thing I'm left wondering about is what would be best practice in terms of creating a 'master' zipfile that can be used again and again to develop new sites and create child themes? Just copy everything in the theme folder into a zip file?Use a plugin? Any experiences/advice on this would be greatly appreciated.

Many thanks

1 Answer

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

The best practice would be to keep your theme in a zipped folder that can be automatically installed via uploading from the backend.

Zac Gordon
Zac Gordon
Treehouse Guest Teacher

You can also add your theme to the WordPress repository or Github to make easier to access.

Thanks! So simply adding all the files and folders in the theme's folder to a zip archive would do the trick if I understand it well?

Zac Gordon
Zac Gordon
Treehouse Guest Teacher

Yup, but test it out to make sure it works ;)

Thanks again!