Classic editor (shortcode)
Use the MapSVG shortcode in the Classic editor, custom HTML fields, widgets, or anywhere WordPress accepts shortcodes.
For the block editor or Elementor with live preview, see Gutenberg block and Elementor widget.
Copy the shortcode
- Open the MapSVG start screen
- Find your map and click the copy button next to the shortcode

You can also open the map settings page and copy the shortcode from the top toolbar:
![]()
Paste into a page
- Create or edit a WordPress page in the Classic editor
- Paste the shortcode into the content area, or use the
MapSVG button in the toolbar and select one of your created maps - that will insert the shortcode automatically.
- Publish or update the page and open it on the front end
Shortcode reference
[mapsvg id="1"]
| Attribute | Required | Description |
|---|---|---|
id | Yes | Map ID from the MapSVG start screen / toolbar. |
selected | No | Region ID to pre-select when the map loads (spaces become _). Example: [mapsvg id="1" selected="US"]. |
lazy | No | Set to true to lazy-load the map: [mapsvg id="1" lazy="true"]. |