panel

The panel shortcode
Allow you to highlight information or put it in a box. They create a colored box surrounding your text

Usage

ParameterDefaultDescription
headernoneThe title of the panel. If specified, this title will be displayed in its own header row.
footernonethe footer of the panel. If specified, this text will be displayed in its own row
themeprimarydefault,primary,info,success,warning,danger

Basic example

By default :

{{% panel %}}this is a panel text{{% /panel %}}
this is a panel text

Panel with heading

Easily add a heading container to your panel with header parameter. You may apply any theme.

{{% panel theme="danger" header="panel title" %}}this is a panel text{{% /panel %}}
panel title
this is a panel text
{{% panel theme="success" header="panel title" %}}this is a panel text{{% /panel %}}
panel title
this is a panel text

Wrap a secondary text in footer.

{{% panel footer="panel footer" %}}Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.{{% /panel %}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Themes

Success theme
this is a panel text
default theme
this is a panel text
primary theme
this is a panel text
info theme
this is a panel text
warning theme
this is a panel text
danger theme
this is a panel text