How to Add a Custom Shortcode to Visual Composer

Written by Nika

Massive Dynamic

Updated January 08,2025

In this article, we will show how you can add a custom shortcode to visual composer.
1. Login to the WordPress dashboard.
2. From the left-hand sidebar of the Dashboard, navigate to Visual Composer >> Shortcode Mapper.
3. Click the Map Shortcode button to display the Shortcode String textbox.

4. In the textbox paste or enter your shortcode.

For example, the YouTube shortcode wraps with
[embedyt][/embedyt]
5. Click the Parse Shortcode button to display the new Shortcode details.
6. Once you have parsed your shortcode, you can edit parameters and values as needed.
The General Information area contains:
The Tag field. This is the name of the shortcode.
The Category field. This indicates where your shortcode will be displayed in the element menu.
The default value is My Shortcodes.
The Description field.
If your shortcode contains a content part, you will need to activate it by placing a checkmark in the Include content param into a shortcode checkbox. This will trigger content param auto-add into the list of parameters.
7. In the Shortcode Parameters area you can control all parameters of your shortcode – add, edit, re-arrange or delete if you do not want your customers to use some of the parameters.

8. Click the Save Changes button to save any changes.

 9. Open the page which you want to use a Shortcode in edit mode.

10. Choose “Backend Editor” from the top of the page

11. Open Visual composer elements and choose a shortcode from “My shortcodes” tab.

Related Articles:

  1. How to Set Styles for Single Posts in Massive Dynamic
  2. How to Set Up a Mega Menu in Massive Dynamic
  3. How to Link a Portfolio Item to an External Page in Massive Dynamic
  4. How to Add HTML and JavaScript to a Page in Massive Dynamic
  5. How to Switch a Header Menu Item to a Button in Massive Dynamic
  6. How to Add a Link to the Copyright Text in Massive Dynamic
  7. Overview of Portfolio Details in Massive Dynamic
  8. How to Switch from Child Theme to Main Theme in Massive Dynamic
  9. How to Update Massive Dynamic Theme While Using a Child Theme
  10. How to remove the Logo in Massive Dynamic

If you encounter any issues during the process, our support team is available to assist you.

Hey Design Lovers !

Unlock Pixflow Max Annually with 30% off – Use code at checkout

"Newcomer30"