Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1331170
    Bobby Bosler
    Participant

    Hello, I know you’ve added a field for manually adding the Google Maps API key to the Google Maps cornerstone element. My question is whether there is an attribute to add the API key to the [google_maps] short code. I have some a custom templates that use the [google_maps] short code, and the fuctions.php solution isn’t quite working for me.

    #1331506
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can specify the API Key within shortcode as well :

    [x_google_map api_key="YOURAPIKEY" lat="40.7056308" lng="-73.9780035" zoom="12" zoom_control="false" drag="false" height="" hue="false" no_container="false" ][/x_google_map]

    Cheers!

    #1335020
    Bobby Bosler
    Participant

    Works like a charm. Thanks!

    #1335030
    Thai
    Moderator

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1331170 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>