Created
December 12, 2013 18:40
-
-
Save tjhole/7933126 to your computer and use it in GitHub Desktop.
ACF: Location Get Lat Long
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$location = get_field('location'); | |
if( !empty($location) ): | |
?> | |
<?php echo $location['lat']; ?> | |
<?php echo $location['lng']; ?>"> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment