Connect the plugin with your custom “Latitude” and “Longitude” fields


If you were using another map plugin before switching to “Progress Map”, this usually means that you’ve already created locations. This also means that you were – probably – geolocalizing a location by adding its coordinates (Latitude & Longitude) inside custom fields (custom fields that were designed by your old map plugin).

If this is not your case, you can skip this post!

Two of the main things we’ve taken into consideration while developing “Progress Map”, is to avoid to the customer to rebuild and/or to re-geolocalize their locations. Let’s see how to do that.

Before we start, please note that you must have the coordinates (“Latitude” & Longitude”) saved inside two separated custom fields! The “Latitude” saved inside a custom field and the “Longitude” saved inside another custom field, otherwise, this won’t work!

To connect the plugin with your custom fields, follow these steps:

  1. In your administration menu, click on the menu “Progress Map”.
  2. Click on the menu “Plugin Settings”.
  3. Scroll down to the section (“Add location” Form fields).
  4. In the field (“Latitude” field name), enter the name of the custom field that you were using to save the latitude of your locations.
  5. In the field (“Longitude” field name), enter the name of the custom field that you were using to save the longitude of your locations.
  6. Save your settings by clicking on the button “Save changes”.
  7. Now that you’ve connected your custom fields, you need to regenerate your markers/locations to fit to the structure of “Progress Map”. This operation won’t duplicate your (custom) posts in your Database! To do that, click on the menu Troubleshooting”, then, click on the button “Regenerate markers” and you’re done.

To find the custom field name, edit one of your (custom) posts, once the edit page opened, click on the link Screen Options” located in the top-right corner of your page. A window will be displayed; make sure to select the option “Custom Fields” (Note: If you can’t find this option, you should contact your theme support to show you how to add that!). After selecting that option, scroll down and you’ll find a metabox/widget titled “Custom Fields”. In this metabox/widget, look for the custom field you want to use and copy the name that you’ll find in field “Name”.


In the same context