Directorio de plugins

Test out the new Plugin Directory and let us know what you think.

Weather Underground

Get accurate and beautiful weather forecasts powered by Wunderground.com

[Upgrading from 1.x] Where is the settings page?

Version 2.0 got rid of the default settings page; now shortcodes and widgets are configured individually.

[Upgrading from 1.x] My forecast looks different

Version 2.0 made lots of changes as to how the forecast is displayed. You can download the last update of the "1.x" version of the plugin here: Version

[Upgrading from 1.x] My location can no longer be found

If your location isn't working any more, follow the steps below:

  • Go to Wunderground.com
  • In the "Search Locations" box, type in your location
  • Click on the location when it appears in the auto-complete box
  • When the page loads, copy the URL. It will likely look like this: http://www.wunderground.com/q/zmw:00000.4.17340
  • Copy the part of the URL after the /q/. In this example, it would be zmw:00000.4.17340
  • Use that as your location in the shortcode, like this: [wunderground location="zmw:00000.4.17340" /]
  • That should work!

How do I use my own API key?

Weather Underground has generously donated free API access to users of this plugin.

If you prefer, you can define your own API key in your installation's wp-config.php file by setting a WUNDERGROUND_API_KEY constant, like so:

define( 'WUNDERGROUND_API_KEY', 'myapikey' );

You can also override the API key using the wunderground_api_key filter, like so:

add_filter( 'wunderground_api_key', 'my_custom_wunderground_api_key' );

 * Use my own API key!
 * @return string My API key
function wunderground_api_key( $old_api_key = '' ) {
    return 'myapikey';

How do I use my own icons?

If you want to use your own icons, you would add a filter to the bottom of your theme's functions.php file. See a list of icons you should have available. Here's sample code:

add_filter('wp_wunderground_forecast_icon', 'use_custom_wunderground_icons', 10, 2 );

 * @return string URL to the root folder of the icon set.
function use_custom_wunderground_icons( $url_base = '', $icon_name = '' ) {
    return 'http://icons.wxug.com/i/c/a/';

I want to modify the forecast output. How do I do that?

Please see the "Using your own template" section on the Plugin Github page

I'm making changes to the settings, but nothing changes

The output of the widget is cached for speed. Add ?debug to the URL and it will refresh.

You can also add add_filter( 'wunderground_twig_debug' '__return_true' ); to your functions.php file to disable caching during development. Only disable caching when absolutely necessary; it will slow down your site.

What is the plugin license?

This plugin is released under a GPL license. Weather Underground is a registered trademark of The Weather Channel, LLC. both in the United States and internationally. The Weather Underground Logo is a trademark of Weather Underground, LLC.

Do I need a Wunderground account?

Weather Underground has been very gracious and has provided the plugin with free data - you don't need your own account. If you want to use Wunderground data in your own application, register for a Weather Underground API account.

Requires: 3.6 or higher
Compatible up to: 4.5.6
Última actualización: 8 meses ago
Instalaciones activas: 30,000+


0 of 4 support threads in the last two months have been marked resolved.

¿Tienes algo que decir? ¿Necesitas ayuda?


Not enough data

0 personas dicen que funciona.
0 personas dicen que no funciona.

75,4,3 100,2,2 100,1,1
100,1,1 100,1,1 100,1,1
0,2,0 100,1,1
33,3,1 86,7,6
60,5,3 100,2,2
0,1,0 33,3,1
100,1,1 100,3,3 100,1,1 50,2,1 100,1,1
100,1,1 100,1,1
100,1,1 0,1,0
100,1,1 100,1,1