- type – style type of message, allowed values: “info”, “success”, “notice”, “error”.
- close – show “close” icon, allowed values: “yes” or “no”.
[message type="success" close="yes"] <p>Place for text.</p> [/message]
See also demo of message shortcode. In full download package (Dummy data/shortcodes-pages/alerts.html) You can find the file with shortcodes we used to create demo page.
Did you know...
You can use message element in drag and drop website builder (Visual Composer) and customize this element easily without coding skills. Parameters and design options are the same as in shortcode.