Back to Support Content and Media Blocks Embed Blocks Embed From Google Maps

Embed From Google Maps

Google Maps is a popular free tool to display maps and directions. This guide will show you how to embed (i.e., display) a Google Map onto your WordPress.com website.

Embed a Google Map

You can embed a Google Map onto any page of your WordPress.com site by taking the following steps:

Step 1: Obtain the Maps Embed Code

  1. Visit Google Maps.
  2. Search any street address or geographic location and click the “Share” button:
An arrow points to the Share button on a Google Map listing.
  1. In the popup that appears, select the “Embed a map” tab.
  2. Click the “Copy HTML” button to copy the entire HTML code from the box to your computer’s clipboard. The code will begin with <iframe.
An arrow points to the Copy HTML button.

Step 2: Add the Embed Code to Your Site

  1. Open your website’s page in the WordPress editor
  2. Click the + Block Inserter to add a Custom HTML block.
  3. Paste the full embed code into the block.
  4. Click the Publish, Update, or Save button to make your map appear on the site.

The next time you edit your page or post, you will notice the embed code has been converted to shortcode:

A Google Maps shortcode is displayed.

If your code isn’t working, try using a physical address. Addresses created with longitude and latitude coordinates rather than a physical address may not give you a workable code.

Example of an Embedded Google Map

Here is an example of what the embedded map will look like:

Embed a Custom Map

Google Maps offers the ability to create your own custom maps with pins, multiple locations, personalized icons, and more. You can embed a custom map onto your website with the following steps:

  1. Visit My Maps.
  2. Choose either a map you have already created or create a new one.
  3. Make the map public using the “Share” option:
  4. Click the ellipses (three dots) next to the map name to reveal additional options. A window will appear, as illustrated below:
  5. Select “Embed on my site” from that list. This will open a window with an embed code. Copy the entire code.
    embed-this-map
  6. Add the embed code to your site following the same steps for a regular map.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!