How to add Google Maps API in SEOWP theme
The SEOWP theme includes a premium add-on for Live Composer that allows you to easily add Google maps to your website. Just type in the address and the module will do the rest.
Get an API key for Google Maps
From June 22nd, 2016, Google requires to enter the Google API key (browser key) to show any map on your website. With new restrictions, your website has a free allowance for 25,000 requests per day. It's more than enough for the most part of the plugin users. Let's generate a new key for your website.
- Log in to the Google API console via this address https://console.developers.google.com/apis/library
- Click on Credentials in the API Manager sidebar.
- Fill the project name with something descriptive and click Create.
- You will see the notice asking to create credentials for the project. Click on Go to Credentials button.
- Now you need to give any name to the keys and fill websites field with your site address. You can put website URL as you it in the browser or use asterisks for wildcards and on the screenshot. After all the fields filed, click on Create API key button.
- Finally Google will provide you with API key that you can copy and use in the Google Maps module on your website.
- Before you go, let's do one more thing: activate Google API for directions service as well. For now, we do not use this feature, but it's good to have it active for the future. Go back to the Overview page and click on Google Maps Directions API link.
- On the new page, just click the Enable button.