Skip to main content
Iteration tags let you run blocks of code multiple times, which is useful for working with collections and arrays of data.

for

Loops over a collection of items and executes a block of code for each item.
string
The name of the variable to assign each item to.
array
The array or collection to iterate over.

else (for loops)

Executes a block of code if the collection being looped over is empty.

break

Stops a for loop from continuing to execute.

continue

Skips the current iteration of a for loop.

cycle

Cycles through a set of values and outputs one value each time the tag is processed.

tablerow

Creates a HTML table of items in your collection.
string
The name of the variable to assign each item to.
array
The array or collection to iterate over.
number
The number of columns in the table.