BACK TO DIRECTORY

Aviation Weather from NOAA

by machouinard

5.0
(4 ratings)
  • Display METAR & TAF info from NOAA’s Aviation Digital Data Service
  • Display up to 6 hours before now
  • PIREPs up to 200sm
  • Create multiple instances using either widget or shortcode
  • WP-CLI Integration

Gutenberg Block

A new AWFN Block can be found in the Widgets section.

Shortcode Usage: ( shown with defaults )

[adds_weather apts='KSMF' hours=2 show_metar=1 show_taf=1 show_pireps=1 show_station_info=1 radial_dist=100 title='']

Data is cached for 30 minutes using the WordPress Transients API.

Included Filter Hooks:

  • adds_kses: Array of permitted HTML tags.
  • adds_custom_css: URL of a user-supplied stylesheet. Supplying a stylesheet in theme’s directory ( ‘css/aviation_weather_from_noaa.css’ ) will also override stylesheet.

Styling

  • Copy css/aviation_weather_from_noaa.css from plugin directory into theme directory, keeping that file structure.
  • Make desired changes.
  • Plugin will load this stylesheet instead of its own.

Code and support available at GitHub

Plugin Details

Active Installs
100
Total Downloads
7,472
Version
0.7.2
Requires WP
3.8
Requires PHP
Tested Up To
6.1.12
Added
2013-12-23
Last Updated
2022-10-31 4:06pm GMT

Ratings

5
4
4
0
3
0
2
0
1
0