Choose specific city for top bar Weather?

Posted in: Newspaper
Post count: 14

I need to choose Watertown, NY for the top bar weather area. But there are multiple Watertown, US in OpenWeather? How do I tell the theme which specific Watertown, US to use?

Post count: 22421

Hello,

Unfortunately I can’t say for sure. We do not own openweathermap.org. We only use the site api to get the info. We do not create the content. You should check with the site.

Thank you!

Post count: 14

They say:

“Call API by city ID instead of city name, city coordinates or zip code. In this case you get precise respond exactly for your city.”

https://openweathermap.org/current

Additionally, I think it would be beneficial to allow us to add Lat and Long options instead of the exact city ID. For example, the API allows for:

api.openweathermap.org/data/2.5/weather?lat=35&lon=139

Or even ZIP Code:
api.openweathermap.org/data/2.5/weather?zip={zip code},{country code}

It would be cool if there was a radio button option in the theme options for us to choose from:

  • City Name
  • City ID
  • Lat, Long
  • ZIP Code

Because right now, your use of City Name is too limiting.

Post count: 22421

Thank you for your suggestions. I will add them to our list for future updates and if this request becomes more popular, we will consider implementing such features.

Thank you!

Post count: 14

Any update on this? It’s basically not possible to use the Weather widget in the top bar, if there is more than one city in the US with the same name…

Post count: 22421

Please contact us on our email address at contact@tagdiv.com and provide a link to your site and wp-admin (login information and admin rights) so we can login and investigate. Please also include a link to this conversation.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.