Alerts
The alerts shortcode allows you to let information stand out by means of an alert styled box. This can be used to indicate danger, warning, success or info.
I’m a danger alert
I’m a warning alert
I’m a success alert
I’m an info alert
Usage
Place the following shortcode on the page
{{< alert style="STYLE" >}} [content] {{< /alert >}}
Parameters
Style
The style parameter is directly applied to the alert as a class in the format “alert-{STYLE}". Bootstrap comes with four styles that can be used with this:
- danger
- warning
- success
- info