i4w_rotation

Usage:

This shortcode provides a mechanism to automatically “rotate” content every time a page is visited.

Rotation automatically resets to the beginning if a visitor has looped through all content.

Multiple, distinct rotations can be established.

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

Shortcode nesting is NOT supported.

Parameters:

name The name of the rotation, case insensitive.
Required: Yes.
case The case within a rotation, must be an integer between 1 and “max_cases”.
Required: Yes, defaults to 1.
max_cases Determines the maximum number of rotation cases. When the maximum is reached, the visitor is assigned case “1”.
Required: Yes.

Example:

API:

There is no API function equivalent for this shortcode.