Title: Aviation Weather from NOAA
Author: machouinard
Published: <strong>23 Dezembro, 2013</strong>
Last modified: 31 Outubro, 2022

---

Procurar plugins

![](https://ps.w.org/aviation-weather-from-noaa/assets/banner-772x250.jpg?rev=970350)

Este plugin **não foi testado com as 3 últimas grandes versões do WordPress**. Pode
já não ser suportado e pode ter problemas de compatibilidade quando usado com versões
mais recentes do WordPress.

![](https://ps.w.org/aviation-weather-from-noaa/assets/icon-256x256.png?rev=978335)

# Aviation Weather from NOAA

 Por [machouinard](https://profiles.wordpress.org/machouinard/)

[Descarregar](https://downloads.wordpress.org/plugin/aviation-weather-from-noaa.0.7.2.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/aviation-weather-from-noaa/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/aviation-weather-from-noaa/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/aviation-weather-from-noaa/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/aviation-weather-from-noaa/#developers)

 [Suporte](https://wordpress.org/support/plugin/aviation-weather-from-noaa/)

## Descrição

 * 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](https://github.com/machouinard/aviation-weather-from-noaa)

## Instalação

#### Manual Installation

 1. Upload the entire `/aviation-weather-from-noaa` directory to the `/wp-content/plugins/`
    directory.
 2. Activate Aviation Weather from NOAA through the ‘Plugins’ menu in WordPress.

#### WP_CLI Installation

    ```
    wp plugin install aviation-weather-from-noaa --activate
    ```

#### WP_CLI Configuration

 * WP_CLI commands should work as expected out of the box.
    wp awfn –help

## Perguntas frequentes

### Can you…

Support will be made available at the [GitHub Repo](https://github.com/machouinard/aviation-weather-from-noaa)

## Avaliações

![](https://secure.gravatar.com/avatar/609473da3232aec21bb2984703ed5877d5db54556c596697623a9e1ae1e153a6?
s=60&d=retro&r=g)

### 󠀁[Update needed!!!](https://wordpress.org/support/topic/update-needed-24/)󠁿

 [Robert](https://profiles.wordpress.org/rwasilewski/) 23 Janeiro, 2024

This plugin was wonderful but doesn't work anymore with the current Wordpress version.
Would it be possible to update this software?

![](https://secure.gravatar.com/avatar/95e133a904446ad3373c9c9d02f6757a6133df6b46eba31872e4bd03bfa9e86f?
s=60&d=retro&r=g)

### 󠀁[Great plug in, but stopped working in WP 6.3.2](https://wordpress.org/support/topic/great-plug-in-but-stopped-working-in-wp-6-3-2/)󠁿

 [tomarppe](https://profiles.wordpress.org/tomarppe/) 7 Novembro, 2023

I really hope someone would have time to update this very good plugin. I have used
it on my aviation website for years without a problem but now it just does not work
anymore

 [ Ler todas as 4 avaliações ](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/)

## Contribuidores e programadores

“Aviation Weather from NOAA” é software de código aberto. As seguintes pessoas contribuíram
para este plugin:

Contribuidores

 *   [ machouinard ](https://profiles.wordpress.org/machouinard/)
 *   [ ranchhand6 ](https://profiles.wordpress.org/ranchhand6/)

[Traduza o “Aviation Weather from NOAA” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/aviation-weather-from-noaa)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/aviation-weather-from-noaa/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/aviation-weather-from-noaa/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/aviation-weather-from-noaa/)
por [RSS](https://plugins.trac.wordpress.org/log/aviation-weather-from-noaa/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 0.7.2

 * Fix minification issue preventing metar and pirep sections from expanding.
 * Use Gulp to minify JS

#### 0.7.1

 * Upgrade FontAwesome to v5

#### 0.7.0

 * Treat radial_dist and hours_before_now and their defaults as strings to fix block
   error
 * Fix admin styling issue with Title only being 100px wide

#### 0.6.0

 * Added Gutenberg Block.

#### 0.5.1

 * Update add_management_page() args to prevent PHP notice

#### 0.5.0

 * Still caching data but loading via Ajax to get around CDN issues
 * Fix PHP notices

#### 0.4.0

 * Separate functionality into individual classes
 * Improve use of transients and options including deletion on uninstall
 * Only display most recent METAR & TAF
 * Add decoded METAR
 * Show/hide decoded METAR and PIREPS
 * WP-CLI Integration with error logging
 * Removed filter hooks for styling wrappers

#### 0.3.8

 * Add ability to not display Metar
 * Add check for PHP version 3.3

#### 0.3.7

 * Add styling
 * Add hooks to filter styling
 * Add option for theme supplied stylesheet

#### 0.3.6

 * Add unit tests

#### 0.3.5

 * Cast values as bool instead of using boolval(), which requires PHP >= 5.5

#### 0.3.4a

 * Remove local development files from SVN ( basically v0.3.3 without the extra 
   files )

#### 0.3.3

 * Fix code that was preventing TAF from displaying
 * Fix transients not being deleted on update
 * Add check for USA, Canada and Australia if 3 characters entered for ICAO

#### 0.3.1

 * Refactor per WordPress coding standards
 * Replace cURL and allow_url_fopen() with wp_remote_get()
 * Add check to limit hours before now to 6 in shortcode
 * Add checks for empty/missing values
 * Better sanitizing

#### 0.3.0

 * Added ability to use cURL if allow_url_fopen() is disabled

#### 0.2.7

 * Fixed readme errors
 * Added GitHub link

#### 0.2.6

 * Added transients API so we don’t hit NOAA with every page load

#### 0.2.4

 * Added custom title to widget + shortcode

#### 0.2.0

 * Added ability to hide or display TAF
 * Added shortcode

#### 0.1.0

 * First release

## Metadados

 *  Versão **0.7.2**
 *  Última actualização **Há 4 anos**
 *  Instalações activas **100+**
 *  Versão do WordPress ** 3.8 ou superior **
 *  Testado até **6.1.16**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/aviation-weather-from-noaa/)
 * Etiquetas
 * [aviation](https://pt.wordpress.org/plugins/tags/aviation/)[METAR](https://pt.wordpress.org/plugins/tags/metar/)
   [noaa](https://pt.wordpress.org/plugins/tags/noaa/)[weather](https://pt.wordpress.org/plugins/tags/weather/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/aviation-weather-from-noaa/advanced/)

## Classificações

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/#new-post)

[Ver todas as revisões](https://wordpress.org/support/plugin/aviation-weather-from-noaa/reviews/)

## Contribuidores

 *   [ machouinard ](https://profiles.wordpress.org/machouinard/)
 *   [ ranchhand6 ](https://profiles.wordpress.org/ranchhand6/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/aviation-weather-from-noaa/)