Custom Field Google Maps
Author | Posts |
---|---|
September 9, 2014 at 9:06 pm 26549 | |
Sekander Badsha | Hey there! I'm using the Custom Field Google Maps and I want to display the Coordinates and the map on my post front-end. The problem is that the following code snippet is only displaying the Coordinates. ID, 'map_location', true ); ?> Result: 32.6669328,-16.924055400000043 Any help on how can I display the map? Thank you. |
September 11, 2014 at 12:17 pm 26640 | |
Sekander Badsha | Hello Bruno, |
September 16, 2014 at 4:55 am 26855 | |
Bruno | Dear Sekander, yes I’m trying to show the map and the coordinates. Thank you. |
September 17, 2014 at 5:40 pm 26938 | |
Francisco | I am interested also in show map and coordinates. Regards |
September 18, 2014 at 8:32 pm 26989 | |
Bruno | Hi guys! The solution: and echoing the get_post_meta var you’ve defined on the wp front-end. Using Google Maps API V3 The Script in your single.php (or ohter)
Important! |
September 19, 2014 at 2:14 am 27002 | |
Francisco | Hello Bruno, For me your solution doesn’t work 🙁 . Can you take a look please? I put this on my single.php Still waiting for Wedevs support. It have no sense that they put a feature that we can’t show in a simple way 🙁 |
September 19, 2014 at 3:59 am 27004 | |
Bruno | Francisco,
Let me know if it is working now. |
September 19, 2014 at 4:13 am 27006 | |
Francisco | Hello Bruno, Thanks for reply so fast :). Y also try removing “ before reply you but doesn’t work.” Of course I have #map-canvas with min-height, z-index… and I see only a block of white. No map showed. This is the ouput with the chrome Developer Tools:
Regards |
September 26, 2014 at 4:38 pm 27584 | |
Francisco | Please, this is not resolved. In my case doesn’t work. Some support please? Regards |
September 27, 2014 at 6:10 pm 27625 | |
Sekander Badsha | Hello Frank, |
September 28, 2014 at 6:03 pm 27666 | |
Francisco | Hello Sekander, Finally I resolve my problem with less code than Bruno and works ok. I put this on my single.php: <?php echo wpuf_shortcode_map_post( ‘my_metakey_map’, $post_id ); ?> and works fine. I see in documentation about WP geo, but this is more simple and works nice so I think put in documentation is a good idea Thanks |
September 29, 2014 at 2:06 pm 27709 | |
Sekander Badsha | Hi Frank, Thank you so much for being awesome!! 😀 |