plugin-icon

Aviation Weather from NOAA

Aviation weather data from NOAA's Aviation Digital Data Service (ADDS)
Valutazione
5/5
Versione
0.7.2
Installazioni attive
100
Ultimo aggiornamento
Oct 31, 2022
Aviation Weather from NOAA
  • 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

Gratuitosul piano Business
Testato fino alla versione
WordPress 6.1.9
Questo plugin ora può essere scaricato per il tuo sito .