Google maps with error - by Dante78 - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Jack Richardson

  • Avatar: Dante78
    Dante78
    Participant
    July 6, 2016 at 12:53
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 6, 2016 at 16:22

    Hello,

    Do you have API key?
    Please read how to get it https://developers.google.com/maps/documentation/javascript/tutorials/adding-a-google-map#step_3_get_an_api_key .
    Then 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.

    Best regards,
    Jack Richardson.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.