WPGeo Problems
Author | Posts |
---|---|
January 30, 2014 at 4:51 pm 14895 | |
kiwi | Still having problems getting the form to pass on coordinates to the WP Geo custom fields for the post. Have tried everything we know to fix for the last 3 weeks but can't seem to crack it. Our users add maps to every post created so its a big problem for us. Would really appreciate someone in your team taking a quick look at the form for us please to see if you can shed some light on this for us. Look forward to hearing from you soon. |
January 30, 2014 at 11:20 pm 14913 | |
Tareq Hasan | Sorry for that, can you post the login details here (as private)? |
January 31, 2014 at 6:40 pm 14958 | |
kiwi | This reply has been marked as private. |
February 3, 2014 at 12:14 am 15013 | |
Tareq Hasan | You mentioned some code in other thread and that contains the meta key |
February 3, 2014 at 12:55 am 15016 | |
kiwi | I’ve now changed the meta key to ‘location_map’ but its still not working. Code below is what we are using. function wpufe_update_wp_geo( $post_id ) { update_post_meta( $post_id, ‘_wp_geo_latitude’, $lat ); if ( isset( $_POST[‘geo_title’] ) ) { add_action( ‘wpuf_add_post_after_insert’, ‘wpufe_update_wp_geo’ ); |
February 3, 2014 at 1:21 am 15017 | |
Tareq Hasan | Where did you added the code? |
February 3, 2014 at 1:27 am 15018 | |
kiwi | This reply has been marked as private. |
February 3, 2014 at 2:06 am 15019 | |
Tareq Hasan | May be you didn’t notice my previous post, replace |
February 3, 2014 at 2:11 am 15020 | |
kiwi | Yes but I did the reverse. I left the location_map code in the custom file but changed the enter_address to location_map in the form meta key. Test it but is still not working. |
February 5, 2014 at 2:06 am 15076 | |
kiwi | I’ve also tried your way as suggested Tareq but still not working. I can see the co-ordinates have passed to location_map & enter_address custom fields correctly depending on which one is setup. |
February 5, 2014 at 11:41 pm 15099 | |
Tareq Hasan | I see the form contains with gmap |
February 6, 2014 at 12:58 am 15104 | |
kiwi | This reply has been marked as private. |