12
Displaying Content with Widgets and Template Tags
In This Chapter
Looking at the common template tags
Adding new widget areas to a theme
Creating templates to handle specific content display
Adding theme support for specific features
This chapter gives you the lowdown on ways you can control how content appears 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 show on your site.
As WordPress becomes more intuitive and user-friendly, I find that in several areas you don’t really need to use template tags or code to get the results 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 website. If your theme doesn’t have widget areas in all the places where you need them, this chapter shows you how to add ...
Get WordPress Web Design For Dummies, 2nd 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.