Venue Map for WordPress$149/yr 1 siteBuy now
The Ember Coffee unit highlighted on a mall floor plan made from a named SVG shape
GuideFloor plans

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

In short

The shortanswer.

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.

  • ShapesOne closed shape per unit: rectangle, polygon or path
  • NamesOn the shape itself, not on its group
  • LabelsLeave room names out of the file. The map draws them
  • LinkingMatching 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, 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 appWhere you name a shapeExport setting that keeps names
FigmaThe layer name in the Layers panelExport as SVG with "Include 'id' attribute" ticked
Adobe IllustratorThe object name in the Layers panelFile, Export, Export As, SVG, with Object IDs set to Layer Names
InkscapeObject Properties: ID and LabelInkscape SVG keeps both. Plain SVG keeps the ID
Any other appAn id, title or data-name on each shapeAny SVG export that keeps ids
Venue Map reads a shape's name from its id, data-name, aria-label, Inkscape label, name or title. Checked against the plugin on 29 Nov 2026.

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 lineUnits 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 lineUnit 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 lineExport only walls and units. The map adds the labels.

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

A place card for Ember Coffee, unit G-06, with opening hours, and the linked shape highlighted on the ground floor plan
The shape named G-06 in the SVG, linked to Ember Coffee. Clicking the shop in the list highlights it on the map.

Bottom lineMatching 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, which was built from two SVG floors exactly like this.

Bottom lineBlock, 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 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, or see how it looks for a campus map and an office building directory.

Questions

SVG floor plan questions.

If something breaks, email support@spotthemes.com. Plans start from $149 a year. See 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.

Made by SpotThemes

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.

Try it in your browserPay yearlyFrom $149 a year
Ember Coffee's shape G-06 highlighted on the floor plan, with its place card open
Keep reading

More guides.

Articles, live use-case demos and dated comparisons.

A college campus map with the Main gate point, library and sports center
Use caseCampuses

Campus map

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

See the demo: Campus map
A place popup on a mall floor plan showing the unit number and Open, closes 10 pm
Comparisonvs Mapplic

Mapplic alternative

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

Compare: Mapplic alternative