Alert Boxes

You can make any div an alert box by adding alert alert-* classes to it. To add alert boxes to your page/post, you must be in the ‘Text’ editor view.

Class Sample Code Output
alert-success
<div class="alert alert-success" role="alert">Success!</div>
Success!
alert-info
<div class="alert alert-info" role="alert">Information.</div>
Information.
alert-warning
<div class="alert alert-warning" role="alert">Warning.</div>
Warning.
alert-danger
<div class="alert alert-danger" role="alert">Danger!</div>
Danger!

For more information, check out Bootstrap’s Components Page.