How to Add a Shortcode in WPBakery Page Builder
To display a shortcode in WPBakery, add a Text Block and paste the shortcode supplied by its plugin into the content field. Preview the public page before updating it. Use My Shortcodes when you want to map a supported third-party shortcode into a reusable builder element.
Before you start
Keep WPBakery and the plugin that registers the shortcode active. Copy an example from that plugin’s own documentation, including required attributes. A made-up shortcode has no output unless WordPress has code registered to handle it. WPBakery is a premium plugin distributed through its official channels, not the free WordPress plugin directory.
Display an existing shortcode
- Open the page with WPBakery Page Builder and choose Add Element → Text Block.
- Paste the plugin’s documented shortcode. In the Text/HTML view, check that brackets and quotation marks have not gained formatting markup.
- Save the element and preview the page. Check the resulting form, gallery or other output on the public page, not just the builder canvas.
- Update the page only after the result works.
Map a shortcode into a builder element
Open WPBakery Page Builder → My Shortcodes → Map Shortcode. Paste a working example and parse it, then review its detected attributes and configure the input fields. Save the mapping and insert the resulting element through Add Element. Mapping provides editor controls for an existing shortcode; it does not implement missing shortcode functionality. Follow the official Shortcode Mapper instructions for supported parameter types.
If the shortcode appears as text or stays blank
Check that the shortcode provider is active, the tag name and attributes match its documentation, and any referenced item exists. Test the same shortcode on a temporary page outside WPBakery. If it fails there too, investigate the provider first. If it works there, inspect the Text Block for extra HTML and check its compatibility with the builder. Avoid deactivating plugins on a live site just to experiment; use a staging site.
For a slider example, our Slick Slider guide explains copying the shortcode generated by the slider plugin. Always use the shortcode from your installed version.
