Difference between revisions of "WordPress Loop"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (→See also) |
Karl Jones (Talk | contribs) |
||
Line 2: | Line 2: | ||
== Description == | == Description == | ||
+ | |||
+ | It is called "the Loop" because the PHP code "loops around", performing a set of tasks multiple times. | ||
Using the Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within [[WordPress Template Tag|Template Tags]]. | Using the Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within [[WordPress Template Tag|Template Tags]]. |
Revision as of 19:57, 11 October 2016
In WordPress, the Loop is PHP code used within a Template to display Posts.
Description
It is called "the Loop" because the PHP code "loops around", performing a set of tasks multiple times.
Using the Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within Template Tags.
Any HTML or PHP code in the Loop will be processed on each post.
See also
External links
- The Loop @ Wikipedia