Viewing 2 replies - 1 through 2 (of 2 total)
  • If you don’t have a problem with having the zipcode before the city with other countries here’s a solution:

    Open the file wpsl-gmap.js in the folder js.

    For the marker popups look for this:
    windowContent += "<p>" + storeHeader + "<span>" + infoWindowData.address + "</span>" + address2 + "<span>" + infoWindowData.city + "</span></p>";
    and replace it with this:
    windowContent += "<p>" + storeHeader + "<span>" + infoWindowData.address + "</span>" + address2 + "<span>" + infoWindowData.zip + " " + infoWindowData.city + "</span></p>";

    For the list under the map look for this:
    html = "<li data-store-id='" + id + "'><div><p>" + storeImg + "<strong>" + store + "</strong><span class='wpsl-street'>" + address + "</span>" + address2 + city + " " + state + " " + zip + "<span class='wpsl-country'>" + country + "</p>" + moreInfo + "</div>" + distance + "<a class='wpsl-directions' " + url.target + " href='" + url.src + "'>" + wpslLabels.directions + "</a></li>";
    and replace it with this:
    html = "<li data-store-id='" + id + "'><div><p>" + storeImg + "<strong>" + store + "</strong><span class='wpsl-street'>" + address + "</span>" + address2 + zip + " " + city + "<span class='wpsl-country'>" + country + "</p>" + moreInfo + "</div>" + distance + "<a class='wpsl-directions' " + url.target + " href='" + url.src + "'>" + wpslLabels.directions + "</a></li>";

    Thread Starter SietseB

    (@sietseb)

    Thank you very much! That worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘City after zipcode in Dutch’ is closed to new replies.