Aviation Weather from NOAA free WordPress plugin
Description
Aviation Weather from NOAA free WordPress plugin
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