Weather Underground - Version 1.2

Version Description

  • Improved data storage, fixing issues users were having with Celsius / Fahrenheit settings and setting the number of columns in a table
  • A new cache option has been added to the shortcode. Add cache=0 or cache= to the shortcode to disable storing forecasts. Not recommended; will dramatically slow down site.
    • If you want to refresh the results, you can add ?cache=false to your URL and the forecast will be updated.
  • Added "width" option to shortcode to define table width. 100% is the default. Use width=0 or width= to disable hard-coding width in table.
  • Changed the default high/low setting to add the degree symbol.
  • Removed code whitespace when storing table for added speed
  • Added CSS classes to forecast columns based on weather conditions. This will allow you to make "Partly Cloudy" columns gray, "Sunny" blue, etc.
  • Added three new filters:
    • wp_wunderground_forecast_cache - How long results are cached for. Default: 6 hours.
    • wp_wunderground_forecast_icon
    • wp_wunderground_forecast_conditions
    • wp_wunderground_forecast_temp
  • Rounded column width to two digits. Instead of 16.66666667%, it's now 16.67%
Download this release

Release Info

Developer katzwebdesign
Plugin Icon 128x128 Weather Underground
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2