Shortcode

Shortcode

This doc is about the Shortcode element. It explains what shortcodes are and how to use them in Mosaic to display content from other plugins or WordPress features.

This Shortcode element lets you insert and render any WordPress shortcode inside Mosaic, just paste the shortcode, and Mosaic outputs it on the front end.

Advanced tab settings

Mosaic Editor showing the WordPress Shortcode element with a field to paste a shortcode, styled through the Style tab

To add a WordPress shortcode to your page, simply paste the shortcode into its field. However, remember that the Style tab settings will also affect this element, so adjust them as needed. In the editor, you’ll only see the shortcode itself, not the content it loads. To view the actual result, preview it.

Notice

By default, the Shortcode element spans the full width of its parent. You can adjust its appearance in the Style tab.

FAQ

Last updated: September 9, 2025

Still have more questions? Let us help!

We use cookies to improve your experience, analyze traffic, and personalize content. By clicking "Accept all" you agree to storing them on your device. Read our privacy policy.

Accept all
Reject all