CHAPTER 3
Content Options and the Loop
The Loop is what makes WordPress go. It’s how all of the WordPress magic happens. It’s the most important thing. Everything else is secondary.
—Justin Tadlock
This chapter explores the variety of ways of getting content into your WordPress themes. You’ll take an in-depth look at querying for content in WordPress and how to output that content to your pages using The Loop and WordPress template tags (more functions). You’ll also look at how to use the different functions available in WordPress to give you plenty of information about the current content to give classes and IDs to use in Cascading Style Sheets ...
Get Pro WordPress Theme Development 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.