Documentation


Widgets

The widgets tag displays widgets data as defined in the Content -> Widgets section of PyroCMS.

Tags

{pyro:widgets:area}

Displays all widgets in a widget area.

Attributes

Name Default Required Description
slug None Yes Slug for the widget area as defined in CP > Content > Widgets

Example

{pyro:widgets:area slug="sidebar"}

 

{pyro:widgets:instance}

Displays a specific widget instance.

Attributes

Name Default Required Description
id None Yes ID of the widget instance given to you after installing a widget in CP > Content > Widgets.

Example

{pyro:widgets:instance id="5"}