This topic has 6 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Rose Tyler
Hi,
I have added my API details in the theme and I am still getting an error on the page, could you please have a look to see why this is not working.
I have checked the console and it does say that there is an issue with the API key.
Thanks
Hello,
https://developers.google.com/maps/documentation/javascript/tutorials/adding-a-google-map#step_3_get_an_api_key
You need edit the file wp-content/themes/legenda/contacts.php, find the line 171
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
, replace the code with this
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=false"></script>
, add your API key instead of “YOUR_API_KEY” text in the link.
Regards,
Rose Tyler.
I have made the changes and I am still having the same issue?
Hello,
As I see, it works fine now http://prntscr.com/e87667. Clear browser cache, and check.
Let us know the result.
Regards,
Rose Tyler.
Hi, All good thanks
Hello,
You’re welcome!
Have a nice day!
Regards,
Rose Tyler.
You must be logged in to reply to this topic.Log in/Sign up