w

[wunderground location=”Needham, MA” numdays=”7″ layout=”table-horizontal”]

[awesome-weather location=”Needham, MA” units=”F” size=”tall” forecast_days=”7″ hide_stats=”1″ background=”” custom_bg_color=”#cccccc” inline_style=”width: 900px; margin: 20px; float: left;” background_by_weather=”1″ text_color=”#000″]

 

 

  • location – Define the location of the forecast. Default: Denver, Colorado. It can be in any format compatible with Wunderground, including:
    • City / State (example: {city},{state})
    • Country / City (example: Paris, France)
    • Coordinates (example: {longitude}, {latitude}),
    • Wunderground “zmw” (example: zmw:00000.1.12345)
    • Wunderground Personal Weather Station (PWS) ID (example: KCODOLOR2)
    • 3-4 character airport code (example: DEN)
  • location_title – If your shortcode uses an ugly location title like zmw:00000.1.12345, you might want to override that! Use this parameter to define how the location appears in the shortcode output.
  • iconset – Choose from Wunderground icon sets. Default: Incredible. Options are: WundergroundElementalIncredibleHelenDefaultSmiley,GenericOld SchoolCartoonMobileSimpleContemporary
  • numdays – Number of days to show in a forecast. Default: 5
  • class – CSS class to be added to the <div> that wraps the output. Default: wp_wunderground
  • datelabel – Change the format of the date using PHP date formatting. See Formatting Date and Time for more information. Default: m/d (Example for October 21: 10/21)
  • layout – The layout template to be used. The value of this parameter is used to find the HTML template file in the templates directory. For example, simple loads the templates/simple.html template file. See Templates below for how the templates are loaded and can be overruled. Default: table-vertical
    • table-vertical – A vertical table with each day as a row
    • table-horizontal – A horizontal table with each day as a column
    • simple – A flexible day view
    • current – Current conditions only
  • measurement – Whether to show items in Fahrenheit and Imperial (english or f) or Celsius and Metric (metric or c). Default: english
  • language – A two-letter code representing the language. See the complete list of supported language codes here. Default: EN
  • showdata – The items to show in the forecast. Default: search,alert,daynames,pop,icon,text,conditions,date
    • search – Location search bar
    • daynames – Display the day of the week (Example: “Thursday”)
    • icon – Weather forecast icon
    • pop – % chance of precipitation
    • text – Forecast text summary
    • date – Show the date in the output
    • conditions – Short summary of conditions (“Clear”, “Partly Cloudy”, etc.)
    • highlow – Show the high & low temperatures for forecast.
    • text – Display a description of the forecast, normally in sentence format.
    • alerts – Weather alerts for the forecast area.
  • hidedata – The items to hide in the forecast. Instead of setting what to show, use the defaults and set what to hide. Accepts the same parameters as showdata. Default: (Empty) Example: hidedata="search" will hide the search bar, but will show the rest of the default data.