Get specific custom field keys from a post and put into an array
There is no need to put them into an array. According to google’s documentation you should just separate out the various pieces of the address in the url like a standard (U.S.) formatted address. // Example taken from google’s docs: $state=”CA”; $street=”Mountain View”; $address=”1600 Amphitheatre Parkway”; function geocode_address($post_id) { $custom_fields = get_post_custom(); // just set … Read more