A simple WordPress plugin for saving location data with Posts and Pages. Conveniently converts addresses to lat/lng from the Edit screen.
The Lat/Lng field will populate with a lat/lng object and a map will appear in the preview box, with a marker on the location.
Access your data in the loop using the following functions, with the post ID passed as a parameter. For the full Google-style Lat/Lng, in brackets:
<?php echo get_geocode_latlng($post->ID); ?>
For the Lat only:
<?php echo get_geocode_lat($post->ID); ?>
For the Lng only:
<?php echo get_geocode_lng($post->ID); ?>
And for the Address:
<?php echo get_geocode_address($post->ID); ?>
Requires: 3.6 or higher
Compatible up to: 3.8.3
Last Updated: 2014-3-22
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?