12. Advanced Theme Development

In This Chapter

Anatomy of a WordPress Theme 174

Building a Theme from Scratch 176

Working with Template Files 186

Working with Template Tags 188

Using the Loop 193

Putting It All Together 194

In this chapter, you’ll learn to design and build a simple theme from scratch. Theme building in WordPress requires a strong knowledge of Web design, HTML/XHTML, CSS, and PHP. Novice users need not apply! For designers and developers, however, building your own theme offers unparalleled flexibility and power, especially when compared to using or modifying a prebuilt theme.

Anatomy of a WordPress Theme

Your theme may appear as one cohesive whole, but many different pieces go into each page of a site .

The front page of this ...

Get WordPress: Visual QuickStart Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.