O'Reilly logo

WordPress Theme Design by Tessa Blakeley Silver

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tabula Rasa

As&;&;&; I've mentioned in the beginning of this chapter, WordPress separates its themes out into many different template files. As a result, if you want to work on the main body, you'll open up the index.php file, but if you want to work on the header layout or DOCTYPE, you'll need to open up the header.php file. If you want to deal with the side bar, you'll need to open up sidebar.php, and even then, if you want to work on a specific item within the sidebar, you might need to open up yet another file such as searchform.php.

When you're trying to put your theme together, initially this can be quite overwhelming. My approach to coding up your theme entails the following: (We'll go over each step in detail.)

  1. In your new theme directory, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required