Messages
Predefined message boxes
[alert-message]<strong>Warning!</strong> This is a sample of the ‘message’ style message box shortcode.[/alert-message]
[alert-info]<strong>Heads up!</strong> This is a sample of the ‘info’ style message box shortcode.[/alert-info]
[alert-success]<strong>Well done!</strong> This is a sample of the ‘sucess’ style message box shortcode.[/alert-success]
[alert-error]<strong>Oh snap!</strong> This is a sample of the ‘error’ style message box shortcode.[/alert-error]
Use with buttons
Oh snap! You got an error!
Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.
[alert-error]This is a sample of the ‘error’ style message box shortcode.[/alert-error]
Costom messages
Default
[custom_message]Here’s an example an a custom message box.[/custom_message]
Left alignment
Center alignment
Right alignment
List of possible attributes:
- close – Show dismiss button? (true, false)
- width – Custom message width
- height – Custom message height
- bgcolor – Custom message background color
- color – Custom message text color
- border – Custom message border color
- align – Custom message alignment
[custom_message width="50%" height="100px" color="#468847" align="right" bgcolor="#dff0d8" border="#b94a48"]Here’s an example an a custom message box with right alignment.[/custom_message]