<!-- Interactive SVG Floor Plan in WordPress: How To | SpotThemes -->
Page: https://spotthemes.com/blog/interactive-svg-floor-plan-wordpress/

- ** Venue Map for WordPress $149** /yr 1 site [Buy now](https://spotthemes.com/venue-map/#buy) [SpotThemes](https://spotthemes.com/) / Plugins [Venue Map Floor plans with a searchable directory from $149/yr](https://spotthemes.com/venue-map/)
- [Interactive Maps Clickable maps with pins, no API key from $59/yr](https://spotthemes.com/maps/)
- [Image Hotspots Clickable dots on any image from $49/yr](https://spotthemes.com/hotspots/)

[Pricing](https://spotthemes.com/pricing/)[Docs](https://spotthemes.com/docs/)[Blog](https://spotthemes.com/blog/)

# How to make an interactive SVG floor plan in WordPress

Name every shape by its unit number, export a clean SVG, upload it and link the shapes to your places.

Published 29 Nov 2026 · Updated 29 Nov 2026 · By SpotThemes · 7 steps

## The short answer.

The work is in the file, not in WordPress.

Draw every shop or room as its own closed shape, name each shape by its unit number, and export an SVG with those names kept as ids. Upload the file to a floor in a floor map plugin such as Venue Map, then link the named shapes to your places. Visitors can then click any unit, search for it and see it highlighted.

- Shapes One closed shape per unit: rectangle, polygon or path
- Names On the shape itself, not on its group
- Labels Leave room names out of the file. The map draws them
- Linking Matching names link shapes to places in one click

An interactive floor plan is a plan where each unit is a real object, not just pixels. Click a shop and its card opens. Search for it and it lights up. That only works if the file tells the website where each unit starts and ends, and what it is called. A flat picture cannot do that. An SVG with named shapes can.

This guide uses [Venue Map for WordPress](https://spotthemes.com/venue-map/), our plugin, for the upload and linking steps. The file preparation works the same for any tool that reads SVG shapes.

## What you need before you start

You need a floor plan you can trace, a design app that exports SVG, and the list of unit numbers. This table shows where each app keeps the names and which export setting keeps them in the file.

| Design app | Where you name a shape | Export setting that keeps names |
| --- | --- | --- |
| Figma | The layer name in the Layers panel | Export as SVG with "Include 'id' attribute" ticked |
| Adobe Illustrator | The object name in the Layers panel | File, Export, Export As, SVG, with Object IDs set to Layer Names |
| Inkscape | Object Properties: ID and Label | Inkscape SVG keeps both. Plain SVG keeps the ID |
| Any other app | An id, title or data-name on each shape | Any SVG export that keeps ids |

## 1. Trace one closed shape per unit

Each shop, room or office needs its own closed shape. Rectangles, polygons and paths all work. Put the outer walls, corridors and decoration on separate layers so they never get mixed up with units.

Venue Map reads rectangles, circles, ellipses, polygons, polylines, paths and lines. A shape with no fill is treated as a line, so it stays visible but cannot be clicked. That is useful for walls and doors, and a trap for units: give every unit a fill, even plain white.

**Bottom line** Units are filled, closed shapes. Walls can be lines.

## 2. Name every shape by its unit number

Name each unit's shape after the number on the sign: G-12, L1-04, 201. Unit numbers stay the same when tenants change, so the file never needs to be redone. Shop names work too, but they go out of date.

The name must sit on the shape itself. Many apps wrap a shape in a group or frame, and the name ends up on the group. Venue Map reads names from shapes, not from groups, so rename the shape layer or ungroup it.

**Bottom line** Unit number as the name, on the shape, not the group.

## 3. Leave labels and hidden layers out

Do not export room names as text, and never turn text into outlines. Venue Map writes the place names on the map from the directory, so labels in the file are wasted. Text turned into outlines becomes hundreds of small shapes that can bury the real units.

Shapes inside hidden layers, masks, clip paths or defs are skipped. That is good for guides and notes, but check that no unit is hidden by mistake.

**Bottom line** Export only walls and units. The map adds the labels.

From SpotThemes

We make Venue Map, a WordPress plugin for floor plan directories.

Upload a floor plan per floor, add places and hours, and visitors can search, filter and see what is open now. From $149 a year. Try the builder in your browser before you buy.

## 4. Export a clean SVG

Export each floor as its own SVG. The file needs a viewBox or a width and height, which every design app writes on its own. Venue Map takes files up to 5 MB and reads up to 4,000 shapes per floor.

Open the SVG in a text editor once and search for one of your unit numbers. If you find `id="G-12"` on a rect or path, the names came through.

<rect id="G-12" x="840" y="478" width="114" height="262" fill="#fff"/>**Bottom line** One SVG per floor, and check that the ids are really in it.

## 5. Upload it to a floor in WordPress

In WordPress, go to Venue maps, Add venue, and add a floor for each level. Upload the SVG to its floor. The plugin cleans the file, keeps the shapes and drops anything unsafe, so scripts and outside links in an SVG never reach your visitors.

If you do not have an SVG, upload a PNG, JPG or WebP picture instead and draw the units on top with the shape, box and pin tools.

**Bottom line** One floor in the builder per SVG file.

## 6. Link the shapes to your places

Two buttons do the linking. "Link shapes to places by unit or name" connects places you already added to shapes with the same unit number or name. "Create places from named shapes" makes a new place for every named shape, ready for you to fill in.

A CSV import does it too. Import a spreadsheet with name, floor, unit, category, phone, website and hours, and every row whose unit matches a shape's name is linked on its own.

The shape named G-06 in the SVG, linked to Ember Coffee. Clicking the shop in the list highlights it on the map.

**Bottom line** Matching names do the linking. You only fix the odd one by hand.

## 7. Add hours and place the map on a page

Fill in categories and opening hours, then add the Venue map block, the Elementor widget or the shortcode `[spotthemes_venue_map id="123"]` to a page. The shortcode takes `theme`, `height` and `floor` options. See it working in the [live mall directory demo](https://spotthemes.com/venue-map/mall-directory/), which was built from two SVG floors exactly like this.

**Bottom line** Block, widget or shortcode. The map is live as soon as the page is.

## Common mistakes

- **Names on groups.** The shape has no name, so nothing links. Rename the shape.
- **Units with no fill.** They show up as outlines that cannot be clicked. Give them a fill.
- **Labels as outlines.** Hundreds of letter shapes. Delete the label layer before export.
- **Shop names instead of unit numbers.** Fine on day one, wrong after the first move.
- **All floors in one file.** Export one SVG per floor.

## TL;DR

- One filled, closed shape per unit, on its own layer.
- Name each shape by its unit number, on the shape itself.
- No text labels in the file. One SVG per floor.
- Upload, press "Link shapes to places by unit or name", add hours, place the block.

## Our verdict

The work is in the file, not in WordPress. Ten minutes spent naming shapes by unit number saves hours of clicking later, and the same file keeps working when tenants change. If you want to try it on your own plan, open the [builder demo](https://spotthemes.com/venue-map/demo/) and drop in your SVG. Venue Map costs from $149 a year. If something breaks, email support@spotthemes.com.

Comparing tools first? Read our [WordPress floor plan and directory plugins roundup](https://spotthemes.com/blog/wordpress-floor-plan-directory-plugins/), or see how it looks for a [campus map](https://spotthemes.com/venue-map/campus-map/) and an [office building directory](https://spotthemes.com/venue-map/office-building-directory/).

Venue Map for WordPress

Turn your floor plans into a searchable directory with live opening hours.

**From $149** a year

- Try it in your browser
- Pay yearly
- Maps keep working if you stop paying

## SVG floor plan questions.

If something breaks, email support@spotthemes.com. Plans start from $149 a year. [See pricing](https://spotthemes.com/pricing/).

### SVG floor plans

### Do I need to know SVG code?

No. You draw in a design app and export. The only thing you type is a name for each shape, and the design app writes it into the file for you.

### Can I use a PDF or a CAD drawing?

Not directly. Open the PDF in Illustrator, Inkscape or Figma, keep the outlines of the units, and export an SVG. CAD files need to be exported to PDF or SVG from the CAD app first.

### Should I keep the room names as text in the SVG?

No. Venue Map draws the place names on the map itself, from the directory. Text in the file is not read, and text turned into outlines adds hundreds of extra shapes.

### Why is a shape not clickable?

The usual causes: the shape has no fill (fill none is treated as a line), it sits inside defs or a hidden layer, or the name is on a group instead of on the shape itself.

### More questions

### How big can the SVG be?

Venue Map takes SVG files up to 5 MB and reads up to 4,000 shapes per floor. A floor with a few hundred units is far below that.

### What if I only have a picture of the floor plan?

Upload the PNG, JPG or WebP picture as the floor instead, and draw each unit as a shape, box or pin in the builder. It takes longer than a named SVG, but it works.

### Do I have to redo the SVG when a tenant changes?

No. The shape belongs to the unit number, not the tenant. Change the place's name in the builder or by CSV, and it stays linked to the same shape.

## Venue Map for WordPress. Upload your SVG and try it.

Upload a floor plan per floor, link the named shapes to your places, add hours, and place the map with a block, a shortcode or the Elementor widget.

## More guides.

Articles, live use-case demos and dated comparisons.

### Best WordPress floor plan and directory plugins (2026)

Mapplic, MapSVG, Image Map Pro, Draw Attention and Venue Map compared on price, floors, search and hours.

### Mall directory map

Shops by floor and unit, amenities, live opening hours and kiosk points.

### Campus map

Universities, schools and hospitals: buildings by category, parking and gates.

### Office building directory

Tenants by floor and suite, a lobby kiosk point and CSV updates.

### Mapplic alternative

A dated, honest comparison with Mapplic, and when to pick Mapplic instead.

### Heat map for WordPress

Color countries by your own numbers, with a top list beside the map.

### Clickable US map

All 50 states with popups, a detail panel and store pins.

### Store locator for WordPress

Search your stores, Open now, Near me and distance, with no API key.

### Shoppable images for WooCommerce

Dots on a room photo open the product with its price and Add to cart.

### Image map for WordPress

Clickable dots on a floor plan or diagram, linked to a list.

### MapGeo alternative

A dated, neutral comparison with MapGeo (Interactive Geo Maps).

### MapSVG alternative

A dated, neutral comparison with MapSVG.

### Image Map Pro and Draw Attention alternative

Three image map plugins compared on price, shapes and WooCommerce cards.

### Mappedin and Concept3D alternative

Indoor map platforms or a WordPress plugin: which fits your venue.

WordPress plugins that do one job well. Try a free version or the builder demo, then pay yearly.
