Skip to main content
Documentation/Elements Reference/Advanced/Shortcode
Elements Reference

Shortcode

The Shortcode element runs a WordPress shortcode and displays its output — the bridge
to the enormous ecosystem of plugins that expose functionality as shortcodes: forms,
galleries, tables, calculators.

Content

The Shortcode element's Content tab
The Shortcode element's Content tab

Full Shortcode is the only control: type the complete shortcode, brackets,
attributes and all — for example . The canvas renders the
shortcode's real output as soon as you type it, so you see exactly what visitors will
get. An empty Shortcode element shows a "This element has no content" notice in the
builder (and nothing on the page).

On the front end

The element renders a wrapper (a div by default; the tag control offers span, p,
headings, and other tags) with a generated per-element class and the oxy-shortcode
class, containing whatever the shortcode outputs. Styling happens in the standard style
sections — see Element Properties
panel
.

  • Container Shortcode — for
    enclosing shortcodes ([x]…[/x]): build the content between the tags out of
    Oxygen elements.