NOAA Weather

توسط

The NOAA Weather widget will show the current weather and weather icons for any locale in the United States (including the commonwealths & territories) that NOAA reports on. It will automatically add the necessary information into the WordPress cron to update every 30 minutes.

Please remember to come back and Rate this plugin as well as report the compatibility of this plugin. If you have any questions, problems or suggestions please don’t hesitate to email me at tberneman@gmail.com and I will respond quickly.

To find your code go to this link http://www.weather.gov/xml/current_obs/ and find your state or location in the dropdown list and click the “Find” button. On the next screen find your ‘Observation Location’ and the code you need is in parenthesis after the location name.

Depending on your theme you may need to tweak the CSS file. Editing is available through the WordPress Admin Menu via Plugins->Editor. Then in the upper-right corner change the ‘plugin to edit’ dropdown box to “NOAA Weather” and click the “Select” button to the right of that. Next click on the “noaa-weather/noaa-weather.css” file just below the dropdown box and “Select” button.

You can have multiple instances of the widget on the same page.

This widget periodically downloads an XML file from NOAA into the widget folder so it will need the appropriate permissions. Files need to be set to “0644” and folders need to be set to “0755”. See https://codex.wordpress.org/Changing_File_Permissions) for more information.

Possible New Features (in no particular order)

1) Weather alerts.
2) 3 or 5 day forecast.
3) Current conditions detail.
4) Shortcodes to include the weather in posts/pages.

Known Bugs

The datestamp for the log function doesn’t use the locale setting to calculate the time.

Please send an email to tberneman@gmail.com with your suggestions.

Upgrading From A Previous Version

To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.

Uploading The Plugin

Extract all files from the ZIP file, making sure to keep the file/folder structure intact, and then upload it to ‘/wp-content/plugins/’.

See Also: “Installing Plugins” article on the WP Codex

Plugin Activation

Go to the admin area of your WordPress install and click on the “Plugins” menu. Click on “Activate” for the “NOAA-Weather” plugin.

Plugin Usage

Use as a widget wherever widgets are allowed in your theme.

سوالات متداول

Why am I getting “Weather Unavailable or invalid NOAA code.” in my widget?

First, make sure you are using the latest version of the widget. If you are still getting this message, most likely you’ve entered an invalid code or you have just installed the widget. If you’ve just installed the widget, make sure you have entered in a code and that it is valid.

Second, try deactivating the widget and reactivating it.

Third, check permissions on the downloaded XML file (in wp-content/plugins/noaa-weather folder). The “noaa-weather” folder should be 0755 and the files should be 0644. You can use FileZilla client for your OS to check and set these permissions.

  • If you still have problems after trying these solutions, email the plugin author.
×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
★★★★★
★★★★★
4.4 /5 (9 نظر)

قیمت:

رایگان

نگارش

آخرین انتشار

18 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

200+

نگارش وردپرس

وردپرس 3.0+

تست شده از نسخه

وردپرس 5.9.13

نگارش PHP

-

نسخه ها

0 نسخه