You can add all kinds of content to your WordPress site. Adding content from external sources allows you to create rich content that is useful and highly interactive. In this article, we will show you how to add Google Maps in WordPress.


Manually Adding a Google Map in WordPress

Go to Google Maps website, and type in the address of the location you want to show or search for a location. Once you have found the location, click on the link button in the right-hand panel. This will show you the embed code. Copy the iframe code, or you can also click on the “Customize and preview the embedded map” further to customize the appearance of the map on your site.

How to Add Google Maps in WordPress

Go to your WordPress website and paste the code into a post, page, or template. That’s all, save your post/page and see Google map live in action on your site.

Adding Google Maps in WordPress Using a Plugin

The first method is good if you only want to embed a Google map to just one location on your WordPress site. But if maps play an important role in your site’s main content and you need to add maps in your posts frequently, we would recommend using a plugin.

The first thing you need to do is install and activate the MapPress Easy Google Maps plugin. Edit a post/page where you want to add the map. Scroll down to the MapPress section on your post edit screen and click on the New Map button.

This will open the MapPress editor, where you can enter an address or click on the My Location link to allow the plugin to detect your location automatically. Provide a title to your map and choose the map size. Once you are satisfied with the map, click on the Save button and then click on the Insert into Post button to add the map to your post. Update or publish your post and see the preview.

With MapPress, you can add multiple maps to a post or page. Even though it works out of the box, it also adds a plugin settings menu in your WordPress admin sidebar. Clicking on it, you can change plugin settings, such as map type, border, alignment, controls, etc.

Adding Google Maps in a Widget and a Lightbox

Another easier way to add Google maps to your WordPress site is by installing the Google Maps Widget plugin. After activating the plugin, go to Appearance > Widgets and drag and drop Google Maps Widget to your sidebar.

Firstly, enter the address you want to show on the map in Widget settings. Secondly, you can also choose the map size, pin color, zoom level, etc. Click on the lightbox tab to configure the lightbox settings. Finally, click on the Save button to save your widget settings. Go to your site to see the widget in action.

Finally, we hope this article helped you add Google Maps to your WordPress site. For questions and feedback, please leave a comment below.

Share This Post

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *