• Hi,

    we have to use the plugin in Spain. And the deafault postal codes search in U S locations. Canwe configure it in Spain?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Chicsmart,

    I think I have an answer for you! I’ve just had the same issue in Australia and managed to fix it.

    When you enter your Google Maps Javascript API V3 Key (public) on /wp-admin/options-general.php?page=wp_simple_locator, Simple Locator must just take that as a variable and add it to the normal Google maps link. As luck would have it, following that key in their code, you can add a variable to set a default country code. I added the following after my key: –

    &region=AU

    Once I had done that, my searches default to Australia, so it picks post codes and locations a lot better than the default.

    To find your country code, use https://www.nationsonline.org/oneworld/country_code_list.htm. Yours should be ES, so your code should be something like: –

    YOUR_API_KEY&region=ES

    Hope this works for you. I’ll add it as a seperate localisation post too as I’m not sure the author is working on this anymore, which is a shame as I would have paid for more features.

    Cheers
    Funkygorilla

    Thread Starter chicsmart

    (@chicsmart)

    Thanks a lot Funkygorilla!!!

    it rules perfect!!

    Cheers

    Thanks for the tip! Worked great ??

    BTW, it should be mentioned in the FAQs…

    • This reply was modified 6 years, 3 months ago by mrjive.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Postal Code in Spain’ is closed to new replies.