> For the complete documentation index, see [llms.txt](https://wpmaps-docs.mapster.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wpmaps-docs.mapster.me/mapster-wp-maps-v2/wordpress/shortcodes.md).

# Shortcodes & Embedding

Once you've built a map in the Mapmaker, there are a few ways to embed it in your WordPress site.

## Gutenberg Block

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.

\[SCREENSHOT: Gutenberg block inserter with Map Select block]

## Shortcode

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:

### `id`

The WordPress ID of the map to display. This is the only required parameter.

```
[mapster_wp_map id="42"]
```

### `zoom`

Overrides the starting zoom level set in the map's settings.

```
[mapster_wp_map id="42" zoom="10"]
```

### `latitude` / `longitude`

Override the starting center coordinates set in the map's settings.

```
[mapster_wp_map id="42" latitude="40.7128" longitude="-74.0060"]
```

### `single_feature_id`

Displays 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.

```
[mapster_wp_map id="42" single_feature_id="87"]
```

### `feature_ids`

Similar to `single_feature_id`, but accepts multiple feature IDs separated by commas. Only those features will be loaded onto the map.

```
[mapster_wp_map id="42" feature_ids="87,91,104"]
```

## Map Post Page

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.
