i4w_forloop

Usage:

This shortcode is used to perform a set of repetitive actions a fixed number of times, similar to a programming FOR…TO…NEXt loop.

This shortcode does NOT supports conditional branching with [ELSE_forloop].

Shortcode nesting is NOT supported.

Parameters:

times This parameter defines the number of iterations to be performed.
Default: none.
Required: yes.

Example:

[i4w_forloop times='12']
  Going thru the loop  times.
[/i4w_forloop]

(All actions between the shortcode tags would be performed 12 times. The internal variable placeholder,  will be incremented at each iteration.)

Notes:

Please consider the effect a large number of iterations could have on the performance of your site.

API:

There is no API function equivalent for this shortcode.