weather shortcode
-
I have a problem. The openweather site have some changes and my old shortcodes do not working correctly now.
The code is:
[wcp_weather id="wcp_openweather_55ffade1e9dcc" city="Фантхьет, Бин Туан, Вьетнам" city_data="city=Фантхьет&city_short=Фантхьет&state=Бин Туан&state_short=Бин Туан&country=Вьетнам&country_short=VN&full_name=Фантхьет, Бин Туан, Вьетнам&short_name=Фантхьет, VN&lat=10.933333&lng=108.10000000000002" tempUnit="c" windSpeedUnit="ms" pressureUnit="mmHg" template="default" showForecastWeather="on" showCurrentWeather=""]
All I need to do now, just change the city name by city ID from https://bulk.openweathermap.org/sample/city.list.json.gz
I have try to find some additional info about shortcodes but can’t.
Help me please, how to add cityID to the code to the shortcode to show correct weather.
The cityID is 1571058
- The topic ‘weather shortcode’ is closed to new replies.