WordPress deactivated OWM Weather because I had issues with the email listed at the plugin. In order to reinstate the plugin, I have to go again through the plugin verification process. WordPress sent me a long list of item I must fix before the plugin can be reinstated. Many of them passed the test when I started the plugin but seem to fail now. In addition, they want me to change library code like leaflet (map) that is included in the code.
In addition, OpenWeather changed to a paid plan for the OneCall 3 subscription.
With a heavy heart, I will retire OWM Weather since I don’t have the resources for these changes. If anyone is interested in continuing the plugin, let me know.
Uwe
]]>Hi,
I try to display on my website the weather forcast for the next 3 days but only a 401 Invalid API Key error will be displayed. I had a look at your FAQ:
https://ujsoftware.com/owm-weather-blog/owm-weather-faq/ and suscribed to the OpenWeather’s OneCall API 3.0.
I think the issue is that the plugin tries to call this link:
but the right link is:
(with 3.0 instead of 2.5). Is there a bug here or may I have some wrong settings somewhere?
Thank you for your help.
Nathalie
]]>We’re using the Card 1 shortcode layout. Last week, we had two strange occurrences for the current temperature that was displayed.
Firstly, one day the number disappeared entirely and we just was “C” in the temperature display. I’m wonder if this is because it was exactly 0 degrees and perhaps the number was being treated as false (or similar) and not getting converted to a string for display?
Another time that week, it displayed -0C which is grammatically incorrect. It should just be 0C with no negative sign. Presumably this has been caused by rounding.
Thanks!
]]>Hi, the plugin used to show our city forecast, but now only displays Globe forecast. Can you point me in the right direction to fix geolocation settings.
Thanks!
]]>Hi.
This plugin looks exactly what I need, but need a bit of help with customising the location with a shortcode.
we’re creating a hub where users can log in and view their profile page on the front end and I’d love to be able to show the weather for their location.
Using advanced custom fields, when we set up their account we can put in their city (in their user profile) and can use this on their hub page.
Is it possible to modify a shortcode to show the weather for their address, something like [owm-weather id=”56″ location”$user_city”]
$user_city being the advanced custom field set in their profile.
Any advice on this would be great.
Thanks in advance.
]]>Hello support!
Thank you for picking up from where WP Cloudy left.
We’ve just replaced it with OMW Weather and so far so good.
Just a quick one, in WP Cloudy we were able to display the weather forecast for thenext day(specifically min and max temps) like you can see from here:
https://imgur.com/a/Oi3JVtx
using the settings shown
We’ve been tinkering with OMW Weather and can’t get it to display Min – Max temps even for current date.
Do we need a custom template for this?
Hi, how can I display all of the cities in MAP?
Like : https://imgur.com/32SKIFi
https://imgur.com/20FFcuw
This is my current setting, it just show the map, but no cities display
Hello, first of all thank you for the free weather plugin! I was also able to install it and insert my OWM Premium key (Startup Pricing). Then after I created the first weather and inserted the shortcode into a static page, a critical error occurred. My website was then still accessible but on the page with the shortcode only the headline was displayed (everything under the heading was no longer displayed in the frontend). I then looked at the page with the shortcode with ‘WP_DEBUG’, true and the following was displayed:
Fatal error: Uncaught Error: Call to undefined function str_starts_with() in /var/www/vhosts/[domainname].com/httpdocs/wp-content/plugins/owm-weather/owmweather.php:2731 Stack trace: #0 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/shortcodes.php(343): owmw_get_my_weather_id() #1 [internal function]: do_shortcode_tag() #2 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/shortcodes.php(218): preg_replace_callback() #3 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/class-wp-hook.php(287): do_shortcode() #4 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters() #5 /var/www/vhosts/[domainname].com/httpdocs/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php(144): apply_filters() #6 /var/www/vhosts/[domainname].com/httpdocs/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php(86): WPSEO_Link_Watcher->process() #7 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/class-wp-hook.php(289): WPSEO_Link_Watc in /var/www/vhosts/[domainname].com/httpdocs/wp-content/plugins/owm-weather/owmweather.php on line 2731
There has been a critical error on this website. Please check your site admin email inbox for instructions.
plugins/wordpress-seo/ -> This is the well-known Yoast SEO plugin. I deactivated this then to test again. But the page with the active shortcode was still not working (only the headline was still displayed).
I then looked at the page with the shortcode again with ‘WP_DEBUG’, true and the following was displayed (very similar to the previous one):
Fatal error: Uncaught Error: Call to undefined function str_starts_with() in /var/www/vhosts/[domainname].com/httpdocs/wp-content/plugins/owm-weather/owmweather.php:2731 Stack trace: #0 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/shortcodes.php(343): owmw_get_my_weather_id() #1 [internal function]: do_shortcode_tag() #2 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/shortcodes.php(218): preg_replace_callback() #3 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/class-wp-hook.php(287): do_shortcode() #4 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters() #5 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/post-template.php(253): apply_filters() #6 /var/www/vhosts/[domainname].com/httpdocs/wp-content/themes/genesis/lib/structure/post.php(486): the_content() #7 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/class-wp-hook.php(287): genesis_do_post_content() #8 /var/www/vhosts/[domainname].com/httpdocs/wp-includes/ in /var/www/vhosts/[domainname].com/httpdocs/wp-content/plugins/owm-weather/owmweather.php on line 2731
I use WordPress 5.6.11 (Theme: https://www.studiopress.com/themes/genesis/ Version: 3.3.3.), PHP 7.4.33 WordPress-Admin 256MB / PHP 128MB
Additional information:
“Check “Disable Bootstrap” if you already include Bootstrap in your theme.” -> I tried all possible settings always the same error (see above).
Thank you in advance for your help!
]]>A previous version (5.7.0) can still be downloaded from www.ads-software.com from https://downloads.www.ads-software.com/plugin/owm-weather.5.7.0.zip for those have error.
It probably takes time for the developer to fix the bugs in version 5.7.1
]]>The code for OpenWeatherMap 5.6.17 is here:
https://plugins.trac.www.ads-software.com/browser/owm-weather/tags/5.6.17
Is there a way I can download this version? 5.7.1 is hopelessly broken and I need to get my site back to functional.
]]>After update my “Custom” template (built from an earlier Table3 template) no longer functions. The current Table3 template in 5.7.1?also doesn’t function.
Using debut, the 3-hour forecast data is in owmw_data[] but not in owmw_html[]. With it missing there, the template fails.
How can I get the owmw_data[] forecast data into owmw_html[] forecast?
$owmw_data[]:
Array
:
:
:
[forecast] => Array
(
[0] => Array
(
[timestamp] => 1695272400
[time] => 05
[day] => Thu
[condition_id] => 800
[description] => Clear Sky
[wind_speed] => 7 mi/h
[wind_speed_description] => Light Breeze
[wind_degrees] => 353
[wind_direction] => N
[wind_gust] => 12 mi/h
[temperature] => 59
[feels_like] => 58
[temperature_fahrenheit] => 59
[temperature_celsius] => 15
[feels_like_fahrenheit] => 58
[feels_like_celsius] => 15
[humidity] => 79%
[pressure] => 30.27 inHg
[cloudiness] => 0%
[rain_chance] => 0%
[precipitation_unit] =>
[rain] => 0.00 in
[snow] => 0.00 in
[precipitation] => 0 in
[visibility] => 6.2 mi
[day_night] => night
)
:
:
:
[39] => Array
(
[timestamp] => 1695693600
[time] => 02
[day] => Tue
[condition_id] => 804
[description] => Overcast Clouds
[wind_speed] => 11 mi/h
[wind_speed_description] => Gentle Breeze
[wind_degrees] => 20
[wind_direction] => N
[wind_gust] => 18 mi/h
[temperature] => 62
[feels_like] => 61
[temperature_fahrenheit] => 62
[temperature_celsius] => 17
[feels_like_fahrenheit] => 61
[feels_like_celsius] => 17
[humidity] => 77%
[pressure] => 30.12 inHg
[cloudiness] => 100%
[rain_chance] => 1%
[precipitation_unit] =>
[rain] => 0.00 in
[snow] => 0.00 in
[precipitation] => 0 in
[visibility] => 6.2 mi
[day_night] => night
)
===========================================
$owmw_html[]:
Array
(
:
:
:
[table] => Array
(
[hourly] =>
[daily] => <div class="table-responsive owmw-table owmw-table-daily"><table class="table table-sm table-bordered" style=""><thead><tr><th scope="col">Day</th><th scope="col" colspan="2">Conditions</th><th scope="col" colspan="2"><svg viewBox="0 0 30 30" fill="currentColor"> <title>Temperature</title>
:
:
:
<td>100%</td><td class="owmw-table-temperature">55</td><td>87%</td><td>13 mi/h NE</td><td>18 mi/h</td><td>30.18 inHg</td></tr></tbody></table></div>
[forecast] => ??????? NOTHING ???????
)
]]>
Sunrise/Sunset stops working after update of the plugin to version 5.7 (5.7.1)
]]>Hello,
Thanks for making such a great weather plugin.
I noticed that the CSS and javascript files are enqueued across my whole site and not just the pages where the weather shortcode is used. For performance reasons, I’d prefer the scripts to be enqueued only where necessary.
Is it possible to add the enqueue_script/enqueue_style to the shortcode, rather than loading it globally across the whole site?
Thanks!
]]>Hi, I forgot to enter the API key and OWM pluging was stop working because of exceed the API call limit.
When I was finally create the API key and add it to the plugin. Pluging do not loading any more. Now it stuck at rotating loading image (owmloading.gif).
I tested API key on other domain (but same server, same IP) and it works fine. I try to uninstall/install, clear cache, create new weather location but did not work.
I noticed that installing unistalling do not delete settings, because save settings in database. Maybe there I need something to delete for full reset?
Dear OWM Weather community. ??
Is there a way to get static weather information for each blog post?
Example:
I write a blogpost on 1st may 2023 while I am in Berlin.
Then I write a blogpost on 3rd may 2023 while I am in Hongkong.
If a visitor is reading my old blogposts today (on 19th august 2023) will he/she see the weather of Berlin and Hongkong of 19th august 2023 or the weather I was experiencing in may?
I would like to have a way to get the current weather of the day I write a blogpost and then have it saved as a kind of static historic weather information.
If it is not possible with OWM Weather I am also grateful for any suggestion.
]]>Getting the following error.
owm-weather-ajax.js?ver=6.2.2:84 Uncaught TypeError: Cannot read properties of undefined (reading ‘weather’)
at Object.error (owm-weather-ajax.js?ver=6.2.2:84:39)
at c (jquery.min.js?ver=3.6.4:2:28447)
at Object.fireWith as rejectWith
at l (jquery.min.js?ver=3.6.4:2:80201)
at XMLHttpRequest. (jquery.min.js?ver=3.6.4:2:82630)
Any help with this is greatly appreciated.
]]>Hello Have you planned a widget for the weather vigilance of a country like here
https://public.opendatasoft.com/explore/dataset/vigilance-meteorologique/custom/?disjunctive.coul_vague&disjunctive.risque_valeur
<a href=”https://www.meteotarn.fr/
“>https://www.meteotarn.fr/
<a href=”https://vigilance.meteofrance.fr/fr
“>https://vigilance.meteofrance.fr/fr
THANKS
Hi
The “Current Weather Short Condition” is showing in english instead hebrew.
There is an Hebrew translation for it?
Or how can i get the list of all the sentences to translate them myself?
]]>Hello.
I have a site whose main language is English and secondary in Spanish and Chinese.
I use Wpml
When I create a weather it always appears in English.
I have version 5.6.14
How can I make it display in the correct language?
Thanks and regards
]]>I have checked all documentation for both this plugin and openweathermap.org. I do have an active subscription for One Call, and I received email confirmation about it. The API is active and is the correct one. I’m not sure what else I’m missing here! Any help would be greatly appreciated.
]]>Hello
I have noticed a difference in the wind speed display. OWM shows a lower wind speed than openweather itself.
You can see the difference here https://finnsommer.eu/owm-weather/ (Same city and same city ID)
It affects the way the text is displayed by the wind speed.
At this moment the plugin shows wind as Gentle Breeze but the openweathermap widget shows at ?Fresh Breeze.
It seems like the plugin show a wind terminology that are a little lower that the actually weather from openweathermap.
Can you follow me?
]]>Hi,
hope you are good.
Can someone help me with the language output ? Why does Serbian language doesnt work, is there any fix ?
Thanks!
]]>I created the forecast with the default layout for the current day. How can I create a new forecast for just one day after and another for two days after? I would also like the days to appear as titles like this: today, tomorrow, day of the week.
Thanks for the plug-in!
]]>I am using Elementor and have added the shortcode to a column in the footer. When I do this, it applies a 12px padding – specifically in this CSS:
.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm {
width: 100%;
padding-right: var(–bs-gutter-x,0.75rem);
padding-left: var(–bs-gutter-x,0.75rem);
margin-right: auto;
margin-left: auto
}
How do I get rid of that padding? It’s messing up the page design.
]]>First of all, thank you for at great plugin.
Is there a way to show the weather in a horizontal menu?
Right now, all the templates show the weather in a vertical menu/tabel ect.
Hello and good day to you.
We have OMW installed on our Multisite, we only use it on the mainsite and do not use it on any of the 6 sub sites. On the network we have Global Multisite Setup turned off as we want it just on the mainsite. Even with this setting off OMW is loading on all the sites. This is not efficient and decreases performance, can you tell me how to turn it off on the subsites please.
Thanks
Brendan
]]>This plugin doesn’t seem to work with ajax, as when I change pages on my website thedamrockstation.com, the widget doesn’t load.
]]>The German translation “Volst?ndige Wetterinformation” is wrong. It should be “Vollst?ndige Wetterinformation”
Allthough the link is too long or the line adjustment/break isn’t fine
]]>Hello everyone,
I have installed the plugin and have been trying for several days to put all the info in the top bar.
I can’t seem to get it right with the CSS.
Someone can give me a hand, I would be grateful.
I want the top bar to be aligned and on the top right.
I would like it to start with the day of the week, month, year, weather symbol, temperature, and lastly the name of the city.
Thank you for your attention
]]>I have subscribed to openweathermap.org and received a working API key. Some weather data is accurate and overall, the plugin is working. However, it says Sunrise is at 13:35 hours which is 1:30pm and Sunset is 23:12 hours which is 11:12pm. Neither of these times is possible on planet Earth. The time zone and location are accurate. Also, the Hourly Forecast simply lists “SUN” instead of hours or a time and Daily forecast skips two days ahead despite selecting “Today+ x days”. I have adjusted settings, layouts and display but these issues persist. I even turned off Sunrise\Sunset but it continues to display no matter which setting I choose. Any ideas? Am I missing a configuration on these?
]]>