How to Add Google Maps in WordPress (Easy Ways)

add google maps

Do you know, how to add Google Maps in WordPress? If you are the owner of any local business then Google maps can help your visitors to easily locate you. It can also help you improve your search engine visibility so that you may be able to attract more visitors. 

In this post, I am going to show you how to add google Maps in WordPress. But first, let’s know why you should add google maps in WordPress.

Why Add Google Maps in WordPress?

There can be several reasons to add Google maps in WordPress site of yours. The most popular reasons are: 

Easy Guidance: Google maps provide easy navigation for your clients who don’t know how to reach you physically. You won’t have to go to anyone to bring them to your office. 

Local Search Engine Optimization Improvement: A clever method to boost local SEO is to add a Google Map to your About Us Page. For example, customers around your neighborhood will easily find your place using Google Maps.

Boost customer interaction: For businesses, customers are the most important person. Therefore, customer interaction tends to improve your overall business. When you add Google Maps to WordPress, it will directly help customers locate and link customers and your service.

How to Add Google Maps in WordPress

Adding Google maps is very much easy you can either directly embed or use a plugin to add google maps to your website. Here, I am showing you both ways. 

Method 1: Using Google Maps Embed Feature

This is the easiest method for embedding Google maps on your website. First, you have to navigate to Google Maps Embeds. This website comes with default embed functionality that allows you to add your address directly to your website. 

Now enter your address on the address bar and the location will be loaded automatically. If you don’t wish to customize anything then simply hit the ‘Get HTML-Code’ button. 

But if you wish to change the view to satellite, toggle the ‘Satelite’ button. You can also zoom the map, and adjust the height and width of the map. Then hit the ‘Get HTML-Code’ button. 

A pop-up will occur with code, copy the whole code

On your website open the page or post where you want to add google maps. Click on the Add block button and search for ‘Custom HTML’. 

Now paste the code in the HTML block and publish or update the post. 

Your post will look similar to this. 

Method 2: Install a Google Maps Plugin

In this method, at first login to your WordPress dashboard and navigate to Plugins -> Add new. Here search for WP Go Maps

Install and activate the plugin. After the activation navigate to maps -> Settings from the dashboard. 

Now click on the Maps, then from the My Maps click on the Edit button to edit your current map. For the first time, it will let you choose the map engine. You can choose either Google Maps or OpenLayers

Google Maps will require an API key, which you have to generate from the Google maps platform. If you are going to need maps a lot then Google maps is best and it is also advised to buy the pro version of WP Go Maps. 

The OpenLayers map is free and doesn’t require any API, but everything is pretty much limited. Here I am choosing the OpenLayers. 

Later, click on Finish install. After the first time setup is completed you will be taken to the map editing page. 

On the editing page, write the map name, add a new marker by writing the address then click on Add Marker. There are other advanced options, feel free to customize your map in the way you like. 

In the end, don’t forget to click on the Save Map button. 

Later on, click on the shortcode from this page or navigate to maps and then click on the shortcode. 

On click, the shortcode will be copied. 

Now, open the page or post where you want to add your map. Click on the Add block button and search for ‘Shortcode’. 

Click on the block and insert it. Now paste the shortcode that you copied. 

Publish or update the post, and you will see your map on the action in the frontend. 


It is far more convincing and engaging to include a Google Map on your website than just providing an address. It may also boost the local SEOs of your site, give straightforward guidance and showcase good feedback from your business.

I hope this post helped you to add Google Maps to WordPress site of yours. If you face any complexity feel free to share your problem. If you liked the post then please share it with your friends and don’t forget to share it with your friends. 

Leave a Comment

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