Skip to content
mikert edited this page Mar 11, 2011 · 1 revision

WidgetCount

Function tag that returns the number of widgets in a widget set. One of the two optional attributes must be specified.

Attributes

  • name (optional) - Name of the widget set.
  • identifier (optional) - Identifier of the widget set.

Examples

Identifier

<$mt:WidgetCount identifier="sidebar"$>

Name

<$mt:WidgetCount name="<__trans phrase="Sidebar">"$>
  • Tags: tags widgets
Clone this wiki locally