forked from jayallen/melody
-
Notifications
You must be signed in to change notification settings - Fork 36
WidgetSetLoop
mikert edited this page Mar 11, 2011
·
1 revision
WidgetSetLoop
Block loop tag that lets you loop over the contents of a widget set instead of loading the widgets all at once. One of the two optional attributes must be specified.
-
name
(optional) - Name of the widget set. -
identifier
(optional) - Identifier of the widget set. -
blog_id
(optional) - Load widgetset from another blog. This will not load them with the context of the other blog. Rather, it is intended to let blogs mix and match each other's widget sets or to let one blog host widgets for several others without having to make them into system widgets.
-
__size__
The size of the widget set. -
__first__
Boolean variable set when the current iteration is the first widget in the set. -
__last__
Boolean variable set when the current iteration is the last widget in the set. -
__index__
An integer variable that is the current position in the widget loop. -
__odd__
Boolean variable set when the current iteration is even numbered in the loop. -
__even__
Boolean variable set when the current iteration is odd numbered in the loop. -
Tags: tags widgets