i4w_forloop
This shortcode is used to perform a set of repetitive actions a fixed number of times, similar to a programming FOR…TO…NEXT loop.
[ELSE_forloop] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
Section titled “Parameters”| Parameter | Description | Default | Required |
|---|---|---|---|
| times | This parameter defines the number of iterations to be performed. | None | Yes |
Example
Section titled “Example”[i4w_forloop times='12'] Going thru the loop %%iteration%% times.[/i4w_forloop]All actions between the shortcode tags would be performed 12 times. The internal variable placeholder, %%iteration%% will be incremented at each iteration.