O'Reilly logo

Web Designer’s Guide to WordPress: Plan, Theme, Build, Launch by Jesse Friedman

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

6. Theme Foundation

Every good theme requires a good foundation. In this chapter, we’ll implement a strong base for our theme by evaluating the structure of the template files, calling template files correctly, and creating our first set of WordPress hooks.

By the end of this chapter, you’ll have a good understanding of how to communicate with other template files in our theme, utilize WordPress hooks for best practices, implement plugins, and extrapolate content rather than duplicate it.

What you’re about to learn

• The structure of the <head> element and its importance for theming

• WordPress theme requirements

• How to link to external files in our theme

• The opening <body> tag

• How and why we maintain separate header.php and footer.php ...

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