Thord Daniel Hedengren - Smashing WordPress_ Beyond the Blog-Wiley (2014)

(avery) #1
You need to understand the loop to create really
cool WordPress sites. Although you won’t need to
be an expert, you should grasp what it does. That
way, you can research the many functions and
features available when you run into a solution
that requires custom content output.

NOW THAT YOU have WordPress installed and
the theme concept under control, it’s time to look
at what really makes the system run. This chapter
will teach you about the loop, which basically is a
PHP query that talks to WordPress and makes it
output the content requested. The chapter starts
with some basic loop usage and then branches
out to multiple loops and some nice little trickery
used within it to achieve various effects.

(^3) THE LOOP


CHAPTER

Free download pdf