[wordpress插件] Aviation Weather from NOAA来自NOAA的航空天气

wordpress 插件 文章 2020-02-26 07:50 494 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

    • Display METAR & TAF info from NOAA’s Aviation Digital Data Service
    • 显示来自NOAA航空数字数据服务的METAR和TAF信息

    • Display up to 6 hours before now
    • 现在最多显示6个小时

    • PIREPs up to 200sm
    • PIREPs高达200sm

    • Create multiple instances using either widget or shortcode
    • 使用小部件或简码创建多个实例

    • WP-CLI Integration
    • WP-CLI集成

    Gutenberg Block

    古腾堡街区

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

    在“窗口小部件”部分中可以找到新的 AWFN块

    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='']

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

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

    使用WordPress Transients API将数据缓存30分钟。

    Included Filter Hooks:

    随附的过滤器挂钩:

      • adds_kses: Array of permitted HTML tags.
      • adds_kses:允许的HTML标签数组。

      • adds_custom_css: URL of a user-supplied stylesheet.

      • adds_custom_css:用户提供的样式表的URL。

        Supplying a stylesheet in theme’s directory ( ‘css/aviation_weather_from_noaa.css’ ) will also override stylesheet.

      • 在主题目录(css / aviation_weather_from_noaa.css)中提供样式表也会覆盖样式表。

      Styling

      样式

        • Copy css/aviation_weather_from_noaa.css from plugin directory into theme directory, keeping that file structure.
        • css / aviation_weather_from_noaa.css 从插件目录复制到主题目录,以保持该文件结构。

        • Make desired changes.
        • 进行所需的更改。

        • Plugin will load this stylesheet instead of its own.
        • 插件将加载此样式表,而不是其自身。

        Code and support available at GitHub

        代码和支持可从 GitHub

        p>

        >

安装步骤

Manual Installation

手动安装

    1. Upload the entire /aviation-weather-from-noaa directory to the /wp-content/plugins/ directory.
    2. 将整个 / aviation-weather-from-noaa 目录上传到 / wp-content / plugins / 目录。

    3. Activate Aviation Weather from NOAA through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单从NOAA激活航空天气。

    WP_CLI Installation

    WP_CLI安装

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

      wp插件安装Aviation-weather-from-noaa --activate

    WP_CLI Configuration

    WP_CLI配置

      • WP_CLI commands should work as expected out of the box.

      • WP_CLI命令应立即可用。

        wp awfn –help

      • wp awfn –help

下载地址
https://downloads.wordpress.org/plugin/aviation-weather-from-noaa.0.7.0.zip
-EOF-

AI助手支持GPT4.0