Using the shortcode [pass] with google_map
-
Hi Eliot,
i have some issue about the shortcode [pass] combined with the option google_map. If i have understand, it supposed to display a google map with the address give on the appropriate field. But, it doesn’t work for me probably because i don’t use it correctly.
that’s the code i use to try to display my map:
[pass field=my_location] [google_map my_location='{FIELD}'] [/pass]And that is displayed on my page:
[google_map my_location=”]I use the plugin ACF and i have created a field “my_location” with the Google Map field, but i’m not sure your plugin can be used with that kind of field.
So i have tried to replace the field Google Map in ACF with a textearea field where i attached the google integration code to display the map and it works. But it’s not really practical.
Do you give me some better advice to use your plugin to show a google map, please ?
Best regards.
The topic ‘Using the shortcode [pass] with google_map’ is closed to new replies.