
Aviation Weather from NOAA
v0.7.2machouinard · 2013年12月23日 上架
Aviation weather data from NOAA's Aviation Digital Data Service (ADDS)
- 正在使用
- 100+
- 评分
- 5.0 / 5
- 累计下载
- 7,771
- 最近更新
- 2022年11月1日
4 条评价需要 WordPress 3.8+已测试到 6.1.17
- 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.cssfrom 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