How to Embed the Location Widget on Any Site

The widget is one iframe line — every platform that accepts custom HTML can host it. Configure your theme and size on the embed page, copy the code, then follow your platform's steps below. WordPress users get a one-click plugin instead.

WordPress (easiest: the plugin)

Plugin route: download whatismylocation-widget.zip → wp-admin ▸ Plugins ▸ Add New ▸ Upload Plugin → activate. Then place [whatismylocation] anywhere shortcodes work (posts, pages, text widgets), with options: [whatismylocation theme="golden" mode="full" height="420"]. The plugin outputs the same iframe — nothing else touches your site.

No-plugin route: in the block editor add a Custom HTML block and paste the iframe. In classic editor, switch to the Text tab first.

Wix, Squarespace, Shopify, Webflow, Blogger

Platform quirks change; if a builder strips iframes on your plan, its help pages under “embed custom HTML” are authoritative.

Options reference

ParameterValuesNotes
themelight · dark · goldenGolden suits warm/premium designs.
modecompact · fullFull adds a mini-map (taller: use height ≥ 380).
iframe height220–800 pxCompact fits in 260; full is comfortable at 420.
allowgeolocationRequired — without it the browser blocks the permission prompt inside the iframe.

Step by step

  1. Open the embed configurator and pick a theme (light, dark, golden), mode, and size — the preview updates live.
  2. Click Copy embed code.
  3. Paste it into your platform's HTML/embed element (per-platform details below).
  4. Publish, then test on a phone: tap the widget's button and approve the location prompt to confirm the allow="geolocation" attribute survived.