Before you update, please be sure to backup your database to ensures that your website can be rolled back quickly and safely if any issues arise!
HOW TO UPDATE
Watch the Video Tutorial below!
Click here # to see how to update the plugin. Do not use FTP to upload the latest version, you must do it from your website administration!
AFTER YOU UPDATE & ACTIVATE THE PLUGIN
Click on the menu “Progress Map”.
Double check the settings in “Plugin settings” and be sure the appropriate (custom) post types to use with “Progress Map” are well selected in the field “Post types”.
Previously in version 2, the settings page under the menu “Progress Map” was for creating the master/main map. That settings page has all the options needed to build a map and to control some of the plugin fonctionalities. Since version 3, almost all the settings has been removed and the ones that remains there are now called “Default … settings”. That means that you can override all the default settings later. The usage of the default settings in the latest version will be limited to the single post maps. They’ll also be used as the default fields options in the “Add new map” page.
In the latest version, you’ll also notice two new menu items, “All Maps” and “Add New Map”.
Click on the menu “All Maps”, you’ll find a built in map called “Auto generated map based on v2 settings”. This is a map that was created during the update process (This is why you should not use FTP to update to the latest version). This map uses all the settings that you were using in the version 2. Edit this map, double check all the settings, especially the options in “Query settings” and be sure that each option is as it should be, otherwire, edit the option and update your map.
Copy the shortcode in the widget “Map Shortcode”. For example: [cspm_main_map id="1"]
Edit your map page, the page where you use the version 2 shortcode [codespacing_progress_map] and change that shortcode by the new one in step 4, then, update your page.
The below video is simply an introductory video that will show you the first steps to set up the plugin. You still need to go through each step mentioned in “first steps” guide!
Note: The plugin settings page in the latest version of “Progress Map” is different than the one you’ll see in this video, still, the concept is the same! Another note regarding the custom post type (“Listings”) in the video. Please note that “Progress Map” doesn’t provide a new custom post type (CPT). The plugin can work with any CPT already available in your website. If you want to use the plugin with a new CPT (e.g. “Listings”), use the plugin Custom Post Type UI or similar to create one.
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:
In your administration menu, click on the menu “Progress Map”.
Click on the menu “Plugin Settings”.
Scroll down to the section (“Add location” Form fields).
In the field (“Latitude” field name), enter the name of the custom field that you were using to save the latitude of your locations.
In the field (“Longitude” field name), enter the name of the custom field that you were using to save the longitude of your locations.
Save your settings by clicking on the button “Save changes”.
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”.