C H A P T E R  7

Image

Creating an Advanced Theme

In the previous chapter, you learned how to create a theme with one basic Loop in each template file. In this chapter, you'll see how the Loop can be modified to display slightly different information: only one category, or all the categories except one, or even showing pages instead of posts.

To create a more advanced layout, you may need more than one Loop. In this chapter, you'll learn several ways of using multiple Loops. You'll also see how to add extra scripts and stylesheets to your theme and how to create an options form that allows your users to choose different layouts or color schemes from ...

Get Beginning WordPress 3 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.