Creating and Editing Custom Themes

Chris Croyier makes creating a custom theme from scratch look so easy. His workflow is well organized. I especially appreciated his starter folder. This is how like to start all of my projects as well.

He demonstrated the advantage of writing the static HTML and CSS code and making sure it works before jumping into the CMS. While it’s tempting to jump in to the CMS right away, I can see the importance of concentrating on good markup first.

Word Press using PHP and MySQL to dynamically build the page. For example, index.php is composed of three main sections header, sidebar and footer. Three PHP lines get.header, get.sidebar, get.footer tell the database to grab the php files with those names and essentially display the information from each respective PHP file in spot where the “get” command is showing.

I found the introduction to custom fields very interesting. Custom fields allow you to store bits of data within in them and then apply them to template pages. Each product page for the sample company will have price, product code, & dimensions which are custom fields in the parent page that are applied to the child (product) page.