Chapter 12

Displaying Content with Widgets and Template Tags

In This Chapter

arrow Looking at the common template tags

arrow Adding new widget areas to a theme

arrow Creating templates to handle specific content display

arrow Adding theme support for specific features

This chapter gives you the lowdown on ways you can control how content displays on your site. When you create a WordPress theme, you use a combination of template tags to display certain types of content, such as blog posts, navigation menus, page content, archive links, and so on. This chapter takes a look at common template tags that tell WordPress what information you want to display on your site.

As WordPress becomes more intuitive and user-friendly, I find that there are several areas where you don’t really need to use template tags or code to get the results that you need; instead, you can add new widget areas to your theme, which enables you to use the drag-and-drop widget feature to include different types of content and/or navigation on your Web site. If your theme doesn’t have widget areas in all the places where you need them, this ...

Get WordPress® Web Design For Dummies® 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.