Link to home
Start Free TrialLog in
Avatar of oo7ml
oo7ml

asked on

Google Maps

Hi,

I've built a few small basic Wordpress sites over the last few days, and none of the Google maps are working on either of them.

I've created my own theme and I've been using it for a few years and all of the sites / Google maps from before 1 week ago are working fine.

Does anyone know what could be wrong? Someone mentioned that you need to authorise each map now because Google changed their API a few weeks ago?
Avatar of Brian Pringle
Brian Pringle
Flag of United States of America image

It has to be called from inside an Iframe.  Go to the map, click on the share icon, and then click "Embed".  Use that full path and it should work.
Avatar of oo7ml
oo7ml

ASKER

I'm actually using the Map API in my theme as I need to add things to the map itself.
Avatar of oo7ml

ASKER

I just found this but I have no clue what I need to do now.

https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update

01 - how do I generate a key?

02 - where do I insert it in my theme?

Thanks in advance to anyone who can help.
Correct. As of June 22, google no longer supports map access without a key.

1. go to https://developers.google.com/maps/documentation/javascript/get-api-key
2. click 'Get a Key'

Once you get the key, you simply copy/paste it into your WP Admin page.
WHERE you put it, is dependent on the Theme or Plug-In you're using.

If you don't see any button or screen to add your Google Maps API key, then contact the theme or plug-in author and ask for it.
It was required as of last month so I would be surprised if you were using a theme that didn't support it.
Avatar of oo7ml

ASKER

Cool, thanks... so do i need to get a new key for every site, or can i use the same key for multiple sites?
ASKER CERTIFIED SOLUTION
Avatar of Eric C
Eric C
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oo7ml

ASKER

Ok great, thanks Eric.