Support

Account

Home Forums Front-end Issues Google Maps shows only string Reply To: Google Maps shows only string

  • well i appreciate that u replied to me.

    i grabbed this code:

    and put it between the <head> <-> </head>

    after this i grabbed

    <?php

    $location = get_field(‘location’);

    if( !empty($location) ):
    ?>
    <div class=”acf-map”>
    <div class=”marker” data-lat=”<?php echo $location[‘lat’]; ?>” data-lng=”<?php echo $location[‘lng’]; ?>”></div>
    </div>
    <?php endif; ?>

    and put it in the loop.

    after it i created a field -> google maps with or without a location, but it doesnt render any map. It only shows the string of the location.

    May u call me dump, but i am totally new to WP and Google Apia and ACF. I honor your work and time. I am not a full of load questioneer. Its the only thing whats missing on our website to begin with theming.

    http://x-virus.org/spielorte/oberfranken/bamberg/memmelsdorf/schloss-seehof