[wordpress插件] Current Weather当前天气

wordpress 插件 文章 2020-04-07 01:00 826 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin uses data from the Yahoo!

此插件使用Yahoo!的数据

Weather API to display the current weather for a location of your choosing as well as the forecast for the current and next day.

Weather API,以显示您选择的位置的当前天气以及当前和第二天的天气预报。

The simplest way to insert the shortcode into your page or post is to use [current_weather location="your location here"] to get the default implementation, which would be your current conditions with forecast and

将简码插入页面或帖子的最简单方法是使用 [current_weather location =“您在这里的位置”] 来获取默认实现,这将是您当前的预测条件和

location shown using standard units.

使用标准单位显示的位置。

The full list of shortcode attributes is:

简码属性的完整列表为:

* location – Use a city, state;

*位置–使用城市,州;

zip code;

邮政编码;

WOEID;

WOEID;

etc.


* units – Either f, for standard, or c, for metric.

*单位–对于标准而言是f,对于公制则是c。

* show – True, if you want to show your location.

*显示–是的,如果您想显示您的位置。

Default is true.

默认值为true。

* forecast – True, if you want to show the forecast.

*预测-如果要显示预测,则为True。

Default is true.

默认值为true。

* condensed – True, if you want to show the condensed version.

*精简–如果要显示精简版本,则为True。

Default is false.

默认值为false。

Features

功能

    • Choose any location worldwide.

    • 选择全球任何位置。

      The plugin will determine your location’s WOEID for you.

    • 该插件将为您确定您所在位置的WOEID。

    • Use either standard or metric units.
    • 使用标准或公制单位。

    • Show or hide the location.
    • 显示或隐藏位置。

    • Show or hide the two day forecast.
    • 显示或隐藏两天预报。

    • Condensed version showing icon, temperature, conditions, and location only.
    • 精简版仅显示图标,温度,条件和位置。

    • Custom title text.
    • 自定义标题文字。

    • Multi widget.
    • 多个小部件。

    • Simple shortcode.
    • 简单的简码。

安装步骤

    1. Unzip and upload the folder /current-weather/ to the /wp-content/plugins/ directory of your WordPress installation.
    2. 解压缩文件夹 / current-weather / 并将其上传到WordPress安装目录的 / wp-content / plugins / 目录中。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. Use the shortcode or widget on your site.
    6. 使用您网站上的简码或窗口小部件。

    7. Customize the css to match your site or use the default setup.
    8. 自定义 css 以匹配您的网站或使用默认设置。

下载地址
https://downloads.wordpress.org/plugin/current-weather.1.5.4.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Commenter Emails评论电子邮件
[wordpress插件] bdwebteam recent post tabs widgetbdwebteam最近发布选项卡小部件
[wordpress插件] Beautimour KitBeautimour套件
[wordpress插件] Custom Menu Fields自定义菜单字段
[wordpress插件] Amazon-MP3-Widget亚马逊MP3-Widget
随便看看
app.js引用的js不能获取app实例? 423
视频号如何关联独立开发的小程序? 506
文档都 404 也没人维护!有管理吗? 375
是否支持卸载指定的页面? 351
微信内置浏览器无法打开网页,手机浏览器、pc均可以打开? 1008
<text>转义字符&lt;不生效 561
拍一拍功能什么时候能够提供关闭? 367
大佬们,如何将现有H5如何转成小程序啊?有什么不用手动转的方法啊 748
公众号调用客服消息接口发送小程序卡片多次报错? 398
公众号调用客服消息接口发送小程序卡片多次报错,求大佬帮忙看看啊! 620