Introduction

The alert shortcode can be used to draw attention to important information on your WordPress website. Because of its many options, it can also be used as a general layout element for page building. Alerts are similar to the content box, promotional box, and content section shortcodes but are more basic.

This is an example of the alert shortcode

Block Alerts and Border Radius

You can show alerts that have a little more padding on them. Whitespace, the extra empty space around an element, is a powerful tool in the design of your website.

Another design tool is the ability to set the border radius (rounded corners) of the alert. Rounding the corners will add a softer look to the alert. Even a small amount goes a long way.

This is a block alert and has a little more padding. Choose any color you want for the alerts. Also notice that this alert has a border radius (rounded corners).

Close Button

Though not often used, you can add a close button to the alert shortcode. This will show an × in the corner of the alert that will hide the alert when clicked. The best use for this is to allow your users to dismiss a very large alert.

This alert has a close button.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam eget metus sed velit laoreet viverra eu a augue. Proin ac mi sit amet mi tincidunt sagittis. Praesent aliquam nisl et lacus fringilla dignissim.

Nunc vitae metus nec nulla iaculis dictum nec in nunc. Nunc nec ligula sit amet nibh commodo sagittis et ac tellus. Phasellus molestie sapien at felis blandit placerat. Etiam venenatis massa a turpis vulputate pharetra.

Go Beyond the Basics

Get creative and use alerts for effective layouts. Alerts are a quick way to add a colored box anywhere on your pages.

This alert shortcode has a shadow on the bottom. Choose from many different shadows.

Lorem ipsum dolor sit amet, consectetur adipiscing elit Duis et dui ac orci dapibus imperdiet Nunc eu mauris ac felis sodales lacinia Mauris sit amet nibh sagittis, elementum metus et, facilisis massa Duis varius felis nec lectus ornare ultricies Mauris rhoncus leo id enim venenatis consequat Maecenas eu ipsum in purus bibendum placerat tincidunt molestie ipsum Ut eu leo at libero tempor blandit Aliquam posuere nisi ac consequat venenatis Proin ultricies quam quis nisi pharetra, ut malesuada nibh varius Duis varius lectus lobortis ipsum tempor, ut interdum eros facilisis Proin ut lacus ac mi sollicitudin interdum In vitae ligula interdum, auctor quam vitae, eleifend quam Vestibulum ut nulla nec turpis pulvinar sodales sed vel purus Nam non mi ut orci commodo bibendum Duis semper purus ac arcu ullamcorper blandit Vestibulum dictum nunc ut mi semper, non suscipit mauris sollicitudin Curabitur blandit elit nec ipsum dapibus suscipit Fusce tristique dui et nisi hendrerit ultrices Proin in tortor vehicula, porttitor elit at, egestas mi Maecenas mollis nunc ac sem placerat luctus Integer feugiat neque in sem rutrum laoreet Sed interdum magna a nibh lacinia, in rhoncus ipsum porttitor Nunc sit amet arcu ultricies, sodales arcu sit amet, facilisis tortor Pellentesque accumsan enim id convallis pellentesque Cras sed mauris non massa tincidunt viverra a consequat ligula Nullam sodales pu

Explore More Shortcodes

[intense_content_section]
<h2>Introduction</h2>
The alert shortcode can be used to draw attention to important information on your WordPress website. Because of its many options, it can also be used as a general layout element for page building. Alerts are similar to the content box, promotional box, and content section shortcodes but are more basic.
[intense_alert]
This is an example of the alert shortcode
[/intense_alert]
[/intense_content_section]
[intense_content_section background_type="color" background_color="#f9f9f9" border_top="1px solid #ededed" border_bottom="1px solid #ededed"]
<h2>Block Alerts and Border Radius</h2>
[intense_row padding_top="0"]
[intense_column size="6" medium_size="6"]
You can show alerts that have a little more padding on them. Whitespace, the extra empty space around an element, is a powerful tool in the design of your website.

Another design tool is the ability to set the border radius (rounded corners) of the alert. Rounding the corners will add a softer look to the alert. Even a small amount goes a long way.
[/intense_column]
[intense_column size="6" medium_size="6"]
[intense_alert color="error" font_color="#ffffff" border_radius="5px" block="1"]
This is a block alert and has a little more padding. Choose any color you want for the alerts. Also notice that this alert has a border radius (rounded corners).
[/intense_alert]
[/intense_column]
[/intense_row]
[/intense_content_section]
[intense_content_section]
<h2>Close Button</h2>
[intense_row padding_top="0"]
[intense_column size="6" medium_size="6"]
Though not often used, you can add a close button to the alert shortcode. This will show an <strong>×</strong> in the corner of the alert that will hide the alert when clicked. The best use for this is to allow your users to dismiss a very large alert.

[/intense_column]
[intense_column size="6" medium_size="6"]

[intense_alert close="1" color="success" font_color="#fff"]
This alert has a close button.

[intense_filler paragraphs="2"]
[/intense_alert]
[/intense_column]
[/intense_row]
[/intense_content_section]
[intense_content_section background_type="color" background_color="#f9f9f9" border_top="1px solid #ededed" border_bottom="1px solid #ededed"]
<h2>Go Beyond the Basics</h2>
Get creative and use alerts for effective layouts. Alerts are a quick way to add a colored box anywhere on your pages.
[intense_row padding_top="0"]
[intense_column size="6" medium_size="6"]
[intense_alert color="warning" shadow="4"]
This alert shortcode has a shadow on the bottom. Choose from many different shadows.

[intense_filler bytes="1400"]
[/intense_alert]
[/intense_column]
[intense_column size="6" medium_size="6"]
[intense_image image="3142" size="medium640" title="flowers"]
[/intense_column]
[/intense_row]
[/intense_content_section]
[intense_snippet snippet_id="Child Theme | Shortcodes/footer" snippet_title="Shortcode Page Footer"]