Get accurate and beautiful weather forecasts powered by Wunderground.com
wunderground_api_keyfilter or the
wunderground_include_pwsfilter to toggle whether to include Personal Weather Stations as data sources (Default: false, unless the location requested is specifically a PWS station)
alttext for icon when using the Current template
languageparameters in the shortcode (
fr, not only
incredibledidn't work, since the plugin expected
Incredible. (reported here)
<table cellspacing="0">with CSS
[wunderground]shortcodes in Text widgets by adding a
do_shortcodefilter on widgets. This had been enabled in Version 1.x.
wp_wunderground_forecastfilter to be backward-compatible with Version 1.x
hidedatashortcode parameter wasn't working properly
[forecast]shortcode with no parameters.
datelabelparameter for backward compatibility
wunderground_get_date_format()function to process date format
wunderground_autocomplete_country_codefilter and returning a country code.
table-horizontallayout now works
simpletemplate updated to use Chance of Precipitation translation string
numdaysis always less than 10
hidedataattribute that works like
showdata, but in reverse. By default, all items are shown when embedding the shortcode (conditions, precipitation %, icon, etc). If you want to hide the icon, for example, you would add
hidedata="icon"to the shortcode.
wunderground_twig_debugfilter. You can force Twig debug mode by adding
add_filter( 'wunderground_twig_debug' '__return_true' );to your theme's
functions.phpfile. You can also enable debug mode if you're logged in as an Administrator by adding
?debugto your current page's URL.
location_titleoverwrites that location that is displayed in the search bar, so that if your location is "ugly", like longitude/latitude, you can overwrite that.
cacheoption has been added to the shortcode. Add
cache=to the shortcode to disable storing forecasts. Not recommended; will dramatically slow down site.
?cache=falseto your URL and the forecast will be updated.
100%is the default. Use
width=to disable hard-coding width in table.
wp_wunderground_forecast_cache- How long results are cached for. Default: 6 hours.
16.66666667%, it's now
simplexml_load_file, which are required for the plugin.
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?