Skip to Content

RAG

RAG

Home / Shortcodes / Boxes and Container Shortcodes

[clear]
[clear]

Call to Action

[hr]

The «Call to Action» container has standard options for the content. It can also be used to insert your custom content outside the shortcode parameters.

[code][call_to_action]Your message text.[/call_to_action][/code]

[clear]

Parameters

title
(string) (Optional) The main headline text.
tag_line
(string) (Optional) The supporting «sub-title» text.
arrow
(string) (Optional) An arrow symbol, separator, after the title. Set to «Yes» to enable.
button
(string) (Optional) Text to show on the button. If excluded the button will not appear.
link
(string) (Optional) The URL of the link to use with the button.

[clear]
[clear]

Samples

[clear]
[clear]

[call_to_action title=»Call to Action With Added Content»]

This Call to Action has a title and extra content. You can also display with only content and no title.

[/call_to_action]

[call_to_action title="Call to Action With Added Content"] This is my extra content in the call to action. [/call_to_action]

[clear]
[clear]

[call_to_action title=»Call to Action Title» tag_line=’Call to action tag line text’ arrow=»yes» button=»Button Text» link=»JavaScript:alert(‘Here we go!’);»]

[call_to_action title="Call to Action Title" tag_line='Call to action tag line text' arrow="yes" button="Button Text"]

[clear]
[clear]
[clear]

Message Boxes

[hr]

Message boxes for information and drawing attention to content.

[code][message_box]Your message text.[/message_box][/code]

[clear]

Parameters

type
(string) (Optional) Type of message box.

Values: note, info, alert, error, success, inset
icon
(string) (Optional) Show icon associated with the selected box type. «Yes» to display icon, do not include option if icon is not desired.
close
(string) (Optional) Add a close button to the box. The text entered will be used as the button text.

[clear]
[clear]

Samples

[clear]
[clear]

[message_box]A standard message box[/message_box][raw][message_box]A standard message box[/message_box][/raw]

[clear]
[clear]

[message_box type=»note» icon=»yes» close=»Hide»]A note message box.[/message_box][raw][message_box type="note" icon="yes" close="Hide"]A note message box.[/message_box][/raw]

[clear]
[clear]

[message_box type=»info» icon=»yes» close=»Hide»]An information message box.[/message_box][raw][message_box type="info" icon="yes" close="Hide"]An information message box.[/message_box][/raw]

[clear]
[clear]

[message_box type=»alert» icon=»yes» close=»Hide»]An alert message box.[/message_box][raw][message_box type="alert" icon="yes" close="Hide"]An alert message box.[/message_box][/raw]

[clear]
[clear]

[message_box type=»error» icon=»yes» close=»Hide»]An error message box.[/message_box][raw][message_box type="error" icon="yes" close="Hide"]An error message box.[/message_box][/raw]

[clear]
[clear]

[message_box type=»success» icon=»yes» close=»Hide»]A success message box.[/message_box][raw][message_box type="success" icon="yes" close="Hide"]A success message box.[/message_box][/raw]

[clear]
[clear]

An inset message box:
Inset message boxes cannot display close buttons or icons.

[message_box type=»inset»]An inset message box.[/message_box][raw][message_box type="inset"]An inset message box.[/message_box][/raw]

[clear]
[clear]
[clear]

Quote Boxes

[hr]

Show a quote and cite the author.

[code][quote author=» – Author Name»]Your quoted text.[/quote][/code]

[clear]

Parameters

author
(string) (Optional) Author or credited source of the quote.

[clear]
[clear]

Samples

[clear]
[clear]

[quote author=»- A.C. Slater»]So what happened, Preppie? Did she turn you down?[/quote][raw][quote author="- A.C. Slater"]So what happened, Preppie? Did she turn you down?[/quote][/raw]

[clear]

Hopp til verktøylinje