I need a plugin which will do the following:
- automatic check if city name(s) is in a text (for example database of [url removed, login to view] can be used)
- Then for each city name calculate the distance between a fixed townname and the city name in the text . (google maps api can be used, but if this will be to costly then simple distance calculation can be used)
- After pressing submit button Edit the original text and add the distance and car icon (like car icon of google maps) after every city.
Fixed location name is Valencia (must be possible to fill this in setting)
Original Post in wordpress:
"Barcelone is a beautiful city in Spain. Madrid is also nice to visit"
Should be changed to ""Barcelona (351 KM, 3h 25 car icon car icon) is a beautiful city in Spain. Madrid(357 KM, 3h 22 car icon) is also nice to visit"
extra: I am using the Q-translate X plugin . The distance plugin should update every language.
- Users will always start city name with capital.
50 freelancer bu iş için ortalamada 214€ teklif veriyor
Hello, We are a team of 25 developers. Having the required skills & experience we are highly enthusiastic about the opportunity to work on your project. Our latest WP projects: [url removed, login to view] [url removed, login to view] Daha fazlası