Shortcodes & Embedding
Display your maps anywhere in WordPress using the map block or shortcode.
Last updated
Display your maps anywhere in WordPress using the map block or shortcode.
Once you've built a map in the Mapmaker, there are a few ways to embed it in your WordPress site.
If you're using the WordPress block editor, search for the Map Select block. Choose a map from the dropdown and it will be inserted and rendered automatically — no shortcode needed.

You can find the shortcode for any map on the Maps list page in your WordPress admin. It appears on the right side of each row, near the creation date. Copy and paste it into any post, page, widget, or template that accepts shortcodes.
The shortcode is [mapster_wp_map] with the following parameters:
idThe WordPress ID of the map to display. This is the only required parameter.
zoomOverrides the starting zoom level set in the map's settings.
latitude / longitudeOverride the starting center coordinates set in the map's settings.
single_feature_idDisplays a single feature (Location, Line, or Polygon) using the specified map as a base template, but without any of the map's other features. Use the WordPress ID of the feature.
feature_idsSimilar to single_feature_id, but accepts multiple feature IDs separated by commas. Only those features will be loaded onto the map.
Every map also has its own WordPress post page. Visiting that URL will display the map directly — no shortcode needed. This can be useful for linking to a standalone map page.
Last updated
[mapster_wp_map id="42"][mapster_wp_map id="42" zoom="10"][mapster_wp_map id="42" latitude="40.7128" longitude="-74.0060"][mapster_wp_map id="42" single_feature_id="87"][mapster_wp_map id="42" feature_ids="87,91,104"]