Support » Fixing WordPress » google map api key

  • Resolved gohamptons

    (@gohamptons)


    I am trying to help this nice lady resolve an issue with google maps. She has a custom theme and google maps were not displaying on her site. She set up an account and got a api key which i put in the footer.php file so the maps display correctly on the site:

    http://www.susansfavoriteshamptons.com/eat/tutto-giorno/

    but the issue is that in the dashboard when adding a new post of editing an existing one she is not able to see the map. where it displays the map is an image of the map with the “This page can’t load Google Maps correctly…” pop up.

    I can not for the life of me figure out where to put the api key so the map displays correctly on the wordpress dashboard.

    Can anyone offer suggestions?

    Thanks,

    Todd

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    My suggestion is to ask at the Google support forum;

    and/or the developer of the theme.

    For commercial product support please contact the author directly on their site. Forum volunteers are not given access to commercial products, so they would not know why it is not working properly. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    See https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    I do want to also ask the question of how is that Google map actually being added. If it really is done via the theme or a plugin?

    I think this is what you are looking for: https://developers.google.com/maps/documentation/javascript/get-api-key
    If not, please take t-p’s advice and post in the google support forums.

    i was able to resolve the issue. here is what i did to fix it and it had nothing to do with google and i already had the api key.

    in notepad++ i did a “find in files” under the public-html folder for the website searching for “maps.googleapis.com” there were 2 js files in a plugins folder that had to have the api key parameter added to the end of the url.

    i am marking as resolved

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.