Skip to Main Content
Web Designer’s Guide to WordPress: Plan, Theme, Build, Launch
book

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

by Jesse Friedman
August 2012
Beginner to intermediate content levelBeginner to intermediate
288 pages
5h 56m
English
New Riders
Content preview from Web Designer’s Guide to WordPress: Plan, Theme, Build, Launch

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Smashing WordPress: Beyond the Blog, 4th Edition

Smashing WordPress: Beyond the Blog, 4th Edition

Thord Hedengren

Publisher Resources

ISBN: 9780133016758Purchase book