Block editor: the Venue map block
Add a block and search for "Venue map" (or map, mall, directory, floor plan, campus). Pick your venue in the block, and the live map shows right in the editor.
| Block setting | Choices |
|---|---|
| Venue map | Any venue you can see. Drafts and private venues are listed only for people who can edit them. |
| Style | As saved in the venue, Light, Dark, or Follow visitor setting |
| Map height (desktop, px) | 0 to 1200 in steps of 20. 0 means as saved. |
| Align | Wide or Full width, if your theme supports them |
No venue yet? The block shows a "Create your first venue map" link in its settings.
Shortcode
Paste the shortcode into any page, post, classic editor or widget area that runs shortcodes. Copy it from the Show this venue box on the venue's edit screen.
[spotthemes_venue_map id="123"]
| Option | Values | What it does |
|---|---|---|
id | The venue's ID number | Which venue to show. Needed. |
theme | light, dark, auto | The style. auto follows the visitor's light or dark setting. Leave it out to use the venue's own style. |
height | A number of pixels | Map height on desktop. Kept between 360 and 1200. Leave it out to use the venue's own height. |
floor | A floor's name, such as Level 1 | The floor shown first. Capitals and spaces do not matter, so level-1 works too. |
Examples:
[spotthemes_venue_map id="123" theme="dark"] [spotthemes_venue_map id="123" height="800" floor="Level 1"] [spotthemes_venue_map id="123" theme="auto" floor="Ground floor"]
A #place= link or a ?yah= point in the page address wins over floor, because the map opens on that place's or point's floor. See Share links and Kiosks and QR signs.
Elementor widget
In Elementor, search the widget panel for "Venue map" (it sits in the General group). It has one section with three controls, and the map draws inside the Elementor editor too.
- Venue: pick a saved venue.
- Style: As saved in the venue, Light, Dark, or Follow visitor setting.
- Map height (px): 0 to 1200. 0 means as saved in the venue.
More than one map on a page
You can place several venues, or the same venue twice, on one page. Each map works on its own.
What shows if something is wrong
- "Venue map not found. Pick one in the block settings." The ID does not belong to a venue. Only editors see this line. Visitors see nothing.
- Nothing shows for visitors. The venue is a draft or private. Publish it in the venue's edit screen.
The map's style, height and directory side are set per venue. See Styles and settings. To see what a finished page looks like, open the campus map demo or the Venue Map product page.
Related docs
- Styles and settingsEvery Venue Map setting: light, dark or auto style, height, directory side, first floor, A-Z or by category, zoom, labels, hours, font.
- Kiosks and QR signs with You are hereAdd a You are here point per kiosk, entrance or QR sign and link to it with ?yah=id, so each sign opens the map on its own spot.
- Share links to a placeEvery place has its own link: add #place=slug to the page address. Visitors copy it with the Share button in the place card.
- TroubleshootingEvery error message Venue Map shows and what to do: SVG too large, shapes not clickable, floor plan not loading, theme CSS, caching.