Docs

Shortcode

Show a shortcode from another plugin.

On this page

The Shortcode widget runs a WordPress shortcode and shows its output on the page: a form from a forms plugin, a booking calendar, a gallery, or a saved Urmi section. Paste the shortcode exactly as the other plugin gives it to you.

A green call-to-action section “Planning a project?” with a Book a consultation button, placed on the page with a shortcode
The output of the shortcode of a saved section.

Add a shortcode

  1. Insert it

    Open Insert in the left panel, find Shortcode under Basic (or type shortcode in Search widgets) and click it or drag it onto the canvas.

  2. Paste the shortcode

    Paste it into Content → Shortcode, for example [contact-form-7 id="12"]. The canvas shows the output as it will look on the site.

The Shortcode inspector with the shortcode of a saved section in the Shortcode field
The Shortcode field.

If the shortcode produces no output in the editor (some plugins only render on the live page), the canvas shows the shortcode itself as a placeholder. Check the result with Preview.

Settings

Content tab

Shortcode
SettingWhat it does
ShortcodeThe shortcode, for example [contact-form-7 id="12"]. The editor shows its output as it looks on the site.

Design tab

Shared Design sections

Every element also has these sections at the end of the Design tab.

SectionWhat it does
Spacing & positionMargin, padding, width, alignment in its container, order, position (relative, absolute, fixed), offsets, z-index and global classes. See Spacing, size & position.
Background & borderBackground, border, border radius, box shadow, overflow and opacity of the whole element. See Colors & backgrounds and Borders & shadows.
MaskCrops the element to a shape (circle, arch, blob, star…) or your own SVG or PNG. See Shape dividers & masks.

Behaviour tab

Behaviour sections

The Behaviour tab is the same for every element.

SectionWhat it does
Anchor & classesAn Anchor ID for #links and your own CSS classes.
AnimationsEntrance, scroll, hover and loop animations from presets or your own timeline. See Motion & effects.
Motion & effectsA simple entrance animation, transforms (also on hover), CSS and backdrop filters, and sticky positioning.
Scroll & mouse effectsMovement, rotation, scale, fade and blur while the page scrolls, and pointer effects (follow the pointer, 3D tilt).
VisibilityHide the element on desktop, tablet or mobile, or in dark or light mode. See Visibility.
ConditionsShow the element only when rules match, such as logged-in visitors, a date range or a URL parameter. See Display conditions.
InteractionsShow, hide or change other elements when this one is clicked, hovered or scrolled into view. See Interactions.
AttributesCustom HTML attributes for this element. See Anchor, classes & attributes.

Tips

  • Saved sections. For a saved Urmi section, the Template widget is the better choice: it shows the section's name, links to it and supports component properties.
  • Styling. The plugin that owns the shortcode controls its markup. Use the Design tab's shared sections for spacing and background around it.
  • Plugin turned off. If the plugin that provides the shortcode is deactivated, WordPress prints the shortcode as plain text on the page.