Hey,
Thank you so much for this fantastic explanation! That was a big help and the code allowed me to make a couple other customizations I was hoping to do. ??
One follow up question though….for the Store Locator plugin obviously there is only one “Settings” page where I’ve set the unit of measurement to miles. You’ve helped give me a workaround to include km in the distance for each location but I’m wondering if I can take it a step further. Would it be possible to load the plugin on a page and specify which unit of measurement to use either in the shortcode or somewhere else in the plugin files?
So for example – if I wanted to create a duplicate page and direct all of our km using clients there using a different link [www.website.com/non-us], could I load the store locator on that page using km and still keep miles in the dropdown in my initial page? Or can I only have 1 dropdown unit per plugin instance?