The following shortcode can be used to create colored message boxes.
Colors & Examples
Parameter | Valid Values | Default |
---|---|---|
color | red, yellow, green, blue, teal, gray, light gray | blue |
Shortcode: [emphasize_text color="teal"] <strong>Tip:</strong> This is an example tip. [/emphasize_text]
Teal
Tip: This is an example tip.
Blue
Tip: This is an example tip.
Green
Success: Your message has been saved.
Yellow
Notice: This is an example message.
Orange
Notice: This is an example message.
Red
Important! This is an example message.
Gray
Note: This is an example message.
Light Gray
Note: This is an example message.
Arlington Sky Blue
Announcement: This is an example message, with Arlington County.
Arlington Dark Blue
Announcement: This is an example message, with link.
Embedding Shortcodes
The shortcode allows you to embed other compatible shortcodes. Example:
[emphasize_text color="yellow"]<strong>Hello [acg_current_user field="firstname"]!</strong> This content is copyright [current_year] Arlington County Government.[/emphasize_text]
Hello! This content is Copyright 2021 Arlington County Government.
The [current_year] shortcode was replaced with “2021.”