Alert Box Shortcode

Display a box of specially formatted text that can be used for an "alert," to get the user's attention about something.

Shortcode:

[alertbox]

Attributes:

type
This is the type of alert box you want to display. Please refer to the guide below for the possible options you can set here...

  • accepted - Displays an accepted box in green
  • warning - Displays a warning box in yellow
  • cancel - Displays a canceled box in red
  • information - Displays an information box in blue

Examples:

The following will display an accepted alert...

[alertbox type="accepted"]Thank you! Please come again![/alertbox]

The following will display a canceled alert...

[alertbox type="cancel"]Stop! You may not access this page![/alertbox]
Back to Shortcodes »