We are creating our posts (custom post type) from a form that the user completes on the front side. However, the user is entering their address using three or four fields (address, address2, city and state). Your plugin offers the ability to map a location from a single field.

The question is, how do we get the location added to the map when the entire address is not in a single field?

Sorry for late reply, I was on leave so couldn't reply you. As you mentioned above this is not possible in this plugin. Your entire address should be in a single field then google autosuggestions will fetch your location and assign lat/long to that location. So this is must to enter your all entire address in the same field.

Please check this guide tutorial to create a locations using custom fields https://wpgmp.flippercode.com/docs/how-to-show-posts-location-using-custom-fields/ This same method is used on posts/custom posts etc.


Please login or Register to Submit Answer