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?
oo7mlAsked:
Who is Participating?
 
Eric CConnect With a Mentor IT Director / Project ManagerCommented:
You need a new key for every site, but you can use your same gmail account for all. Just go back to the Map API site and create a new 'project' then generate another key.
0
 
Brian PringleSystems Analyst II, SCM, ERPCommented:
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.
0
 
oo7mlAuthor Commented:
I'm actually using the Map API in my theme as I need to add things to the map itself.
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
oo7mlAuthor Commented:
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.
0
 
Eric CIT Director / Project ManagerCommented:
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.
0
 
oo7mlAuthor Commented:
Cool, thanks... so do i need to get a new key for every site, or can i use the same key for multiple sites?
0
 
oo7mlAuthor Commented:
Ok great, thanks Eric.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.