The Alert shortcode creates a Bootstrap structured alert.
[alert class="custom classes" type="warning"]Some alert text[/alert]
Option | Required | Default |
---|---|---|
type | no | info |
Description |
---|
Determines the color style of the alert. This is depending on the Bootstrap color style classes as shown below. |
Values |
---|
warning , danger , info , success , light , dark , primary , secondary |
Option | Required | Default |
---|---|---|
class | no | blanks |
Description |
---|
Custom classes that can be added to this shortcode |
Values |
---|
String of additional custom classes to be added to the alert. Delimited by blanks. |