User guide

Displaying your map

Embed your IronMaps™ map on a WordPress page with the ironmaps_map shortcode, including sizing, centering, and filtered views.


Once your settings and listings are in place, add the map to any WordPress page or post with a shortcode.

The basic map

To show all your published listings with your default settings, add this shortcode to a page or post:

[ironmaps_map]

The earlier [igs_map] shortcode keeps working, so pages you built before are unaffected.

The map fills the width you give it, and its height comes from the Map container size setting in Settings, not from the shortcode.

The WordPress block editor on a published page titled Community Map. The map shortcode sits on its own line as the first block, above a paragraph of the default example page text. The Page sidebar on the right shows the page published, with the slug community-map.
A WordPress page editor with the map shortcode added to the page.

Width, zoom, and center

[ironmaps_map width="90%" zoom="12"]
  • width: any CSS value, 100% by default
  • zoom: 1 (world) to 20 (street), 10 by default

Center on specific coordinates:

[ironmaps_map center_lat="45.3573" center_lng="-122.6068" zoom="14"]

Filtered maps

To show only certain listings, set filtered="true" and add filter parameters. The flag is required for any filtering to work.

[ironmaps_map filtered="true" categories="eat, play"]

The six filter dimensions, using term slugs:

[ironmaps_map filtered="true" locations="downtown, uptown"]
[ironmaps_map filtered="true" industries="healthcare-medical, technology-telecommunications"]
[ironmaps_map filtered="true" communities="veteran-owned, women-owned"]
[ironmaps_map filtered="true" certifications="mbe, wbe"]
[ironmaps_map filtered="true" filters="drive-through, wheelchair-accessible"]

The filters parameter carries your tags. The older parameter names center-points and cobid are still accepted, so existing shortcodes keep working.

Combining different dimensions narrows the result, so a business must match every dimension named to appear:

[ironmaps_map filtered="true" categories="eat" industries="food-dining" communities="women-owned"]

Two other ways to share a filtered view

  • Build a page per view, for example a Restaurants page carrying categories="eat" and a Women-owned businesses page carrying communities="women-owned", each with context around the map and a descriptive title.
  • Campaign URLs, built on the Campaigns tab, are shareable links to your existing map page that arrive with filters already applied. They suit newsletters and social posts, where you want one link rather than a new page. The builder shows a live count of how many listings the link will show.

The directory shortcode

The Member Directory listing has its own shortcode, [ironmaps_directory], covered in Turning on the Member Directory.

Trouble displaying the map?

If the map is blank or the wrong businesses appear, confirm filtered="true" is set, your term slugs are correct, and your API key is configured. See Troubleshooting: Map not displaying.

Still stuck? A real person usually replies within one business day.

Contact support