• Ron

    (@donniepeters)


    I am starting to add entries into the Directory Lite and the Google Map is not displaying on the listing page for entries that have an address. The Google Maps Api is working as I use it in another plugin and it also displays accurately on the Listing Edit form. I also have the Google Maps checked on the Settings>General tab.

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

Viewing 1 replies (of 1 total)
  • Thread Starter Ron

    (@donniepeters)

    So I discovered the code that is not working. In the /templates/global/header.php file at the top the script for the Google Maps is written as:

    <script src="https://www.google.com/recaptcha/api.js?render=<?php echo esc_html(ldl()->get_option('googlemap_api_key'));?>"></script>
    

    But it should actually be:

    <script src="https://maps.googleapis.com/maps/api/js?render=<?php echo esc_html(ldl()->get_option('googlemap_api_key'));?>"></script>

    Please fix!!

Viewing 1 replies (of 1 total)
  • The topic ‘Google Maps not displaying’ is closed to new replies.