Yahoo! Weather Forecasts – WordPress Plugin

This plugin uses the Yahoo! Weather feed data to display selected city latest weather forecasts. Get your favorite city weather in a widget. Easy to customize and support multi-widget. This plugin also comes with temperature options. Set the country WOEID with WOEID Generator, and you will have the forecase in your sidebar widget easily.

Key Features & Options

  • Yahoo WOEID support
  • Support all cities
  • Temperature options
  • Intro text for additional text before the widget content.
  • Outro text for additional text after the widget content.
  • Custom scripts and stylesheets for each widget

Usefull Links

Question & Supports

This plugin does not match to your site style? Is this script not quite working as it should? Having trouble installing? Or need some custom modifications that aren’t already included? Or you want more features on next release? Please leave messages or comments below.

 

Download Yahoo! Weather Forecasts

Downloaded file hosted at WordPress.org


45 comments on “Yahoo! Weather Forecasts – WordPress Plugin

  1. the widget works great and getting the all details but for some reason right now it’s night time and there is a sun icon [same location on yahoo weather website shows correct icon]

    any suggestions?

  2. Well, that’s odd – the WordPress support forums for this plugin seem to have marked my post as closed before it’s even been opened. Also, this plugin doesn’t appear in your list of plugins:
    http://zourbuth.com/plugins/

    So, following the link in the plugin header, am posting my simple bug report here:

    On line 96 of yahoo!-wheather.php, if credits are not shown, $credit is undefined, throwing a “Notice: Undefined variable” when WP_DEBUG is set to true.

    The simple fix is to define it as empty on the previous line, ie:

    $credit = '';
    if ( $show_credit ) $credit = ' & zourbuth.com';

    Cheers,

    Christian

  3. Hi, Thanks for the cool widget but is there a way remove the data:

    Feels like: 7 °C
    Barometer: 982.05 mb and steady
    Humidity: 76%
    Visibility: 9.99 km
    Dewpoint: 6 °C
    Wind: 8.05 km/h
    Sunrise: 5:16 am
    Sunset: 9:21 pm

    I don’t require the above stats and it takes up too much room in my footer where I use the widget.
    Thanks

    1. Anyone any ideas how to remove this extra data. Have looked through css etc but cant seem to get anything that works. Thanks in advance.

      1. It’s very easy.
        Open File yahoo! _wheather.php.
        And find the following lines and delete unnecessary:

        $content .= ” . __(‘Feels like: ‘, ‘yahoo-weather’) . $weather->get_temperature() . ‘ °’ . $weather->get_units_temp() . ”;
        $content .= ” . __(‘Barometer: ‘, ‘yahoo-weather’) . $weather->get_pressure() . ‘ ‘ . $weather->get_units_pressure() . ‘ and ‘ . $rising . ”;
        $content .= ” . __(‘Humidity: ‘, ‘yahoo-weather’) . $weather->get_humidity() . ‘%’;
        $content .= ” . __(‘Visibility: ‘, ‘yahoo-weather’) . $weather->get_visibility() . ‘ ‘ . $weather->get_units_distance() . ”;
        $content .= ” . __(‘Dewpoint: ‘, ‘yahoo-weather’) . $low . ‘ °’ . $weather->get_units_temp() . ”;
        $content .= ” . __(‘Wind: ‘, ‘yahoo-weather’) . $weather->get_wind_speed() . ‘ ‘ . $weather->get_units_speed() . ”;
        $content .= ” . __(‘Sunrise: ‘, ‘yahoo-weather’) . $weather->get_sunrise() . ”;
        $content .= ” . __(‘Sunset: ‘, ‘yahoo-weather’) . $weather->get_sunset() . ”;

        1. It’s easier to just do this with css – otherwise your changes to the plugin will be overwritten should the plugin update.

          #yahoo-weather-forecast-2 .condition,
          #yahoo-weather-forecast-2 .pressure,
          #yahoo-weather-forecast-2 .y-temperature,
          #yahoo-weather-forecast-2 .copyright {
          display:none;
          }

  4. Hi, I have this problem i dont no how to fixed it:

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wordpress\wp-content\plugins\yahoo-weather-forecasts\simplepie_yahoo_weather.inc on line 271

    Thanks.

  5. I’m attempting to reduce the spacing between each of the elements: barometer, humidity, etc to minimize the footprint of the widget. Can you give me an example of the custom CSS to do this?

  6. Is there a way to be able to click on the widget as to create a link to the Yahoo weather page of an specific area?

  7. How to set the Plugin? I have hard time setting up using WordPress. I know, it looks bad but believe me. Is there anyone who can provide step by step instructions, specially on how to set up the city and in fact how to make it wok? I got the code from WOEID but where to pludge in?

    thanks

  8. the sidebar’s widget works fine but in the widget page at wordpress.org, it shows screenshots of weather forecasts, seemingly for a full page display. but right now I dont see any way to display anything else but the actual weather, which is not so convenient for a weather “forecasts” plugin… i hope an update will be released soon coz the plugin is working very well otherwise.

  9. First I wanna say: I really love this plugin… Have used it for years and just love it!
    Thank You very much!

    Lately I have starting to have a problem when weather icon is unknown. It seems to look for a file: http://l.yimg.com/a/i/us/nws/weather/gr/3200d.png and that can never be found. It shows ugly image placeholder instead. Other times it works again.

    If I understand correctly it would be nice to have something in the code that displays somekind of default picture or something instead of error image placeholder when weather code 3200 appears. Something like: if image not found then display custom icon.

    Best regards

      1. Hey. It is Tartu, Estonia (City ID: 845805). Most of the time it works, but some evenings it shows unknown icon for weather.

      2. Also… I was wondering if there is a way to set “Sunrise” and “Sunset” to view as 24h time instead AM/PM?

        Best Regards….

  10. My Yahoo Widget was working fine and now it’s no longer working – danaharbor.com. It was a widget on the homepage sidebar and still shows in the WordPress Appearance/Widgets.

Create Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>