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

Static site to WordPress and Starter Template (underscores)

The WP sections includes a discussion for converting static sites into WP themes but will it (or blog teamtreehouse) provide tutorials for using starter templates?

1 Answer

John Locke
John Locke
15,479 Points

Hi Jesse:

I've built sites with the _s(underscores) theme, as well as the Starkers blank theme, and the Blank themes by Chris Coyier and Repro.

If you already know how to build a HTML site, converting it to a WordPress site is just a matter of trial and error until you get a good feel for how the process goes. The header and footer files can pretty much be carried right over from a HTML page with very little changed. Same with a sidebar, if your theme has one.

Some blank themes like Starkers or _s can be a little tricky at first. You have to have FTP to find where some of the shared files are. Figuring out how the different template files make the different pages is time well spent. Root around and see where your source code is being produced from.

With the blank themes, the Page and Post files are where the bulk of the page are produced. You can add divs and other HTML as you need it, or remove it as well. (I suggest commenting out sections with <!-- --> to see what happens without changing the theme permanently.