Title: Gweather
Author: moklet
Published: <strong>2009 年 11 月 4 日</strong>
Last modified: 2010 年 1 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/gweather.svg)

# Gweather

 作者：[moklet](https://profiles.wordpress.org/moklet/)

[下载](https://downloads.wordpress.org/plugin/gweather.zip)

 * [详情](https://cn.wordpress.org/plugins/gweather/#description)
 * [评价](https://cn.wordpress.org/plugins/gweather/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gweather/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gweather/#developers)

 [支持](https://wordpress.org/support/plugin/gweather/)

## 描述

With the gweather plugin you can display and embed Google Weather Feeds in your 
WordPress posts and pages using the following shortcode:

    ```
    [gweather city="City" country="Country Shortcode" temp="C" credit="1"]
    ```

FILTER USAGE

 * Simple:

Just put a `[gweather city="city" country="country shortcode" temp="C" credit="1"]`
in your post, and the weather will show up.

 * NAMED PARAMETERS

For some customisation there are some options you can use.

 * city : Which city would you like the weather for
 * country : Your Country Shortcode (e.g. US for the United States, ZA for South
   Africa, NL for the Netherlands)
 * temp: C for celcius or F for Fahrenheit
 * credit: 1 if you want to show a credit link, 0 if you don’t want to show a credit
   link (I hope you would like to show it)

Examples:

    ```
    [gweather city="Pretoria" country="ZA" temp="C" credit=0] (weather in pretoria in Celcius with no credit link)

    [gweather city="London" country="UK" temp="F" credit="1"] (weather in london in Fahrenheit with credit link)
    ```

Finally note the whole thing must be on ONE line. No line breaks or else it won’t
work.

There is no styling in the table, but the table is generated with a class of gweather.
So you can style the look of the output by adding a class for that in your stylesheet

1.00 Initial release.
 1.10 Bug Fix Cities with spaces where not renedered properly

## 安装

Just unzip in your plugin folder, and actived in your wordpress admin panel.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Gweather」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Gweather」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gweather)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gweather/)，查看[SVN仓库](https://plugins.svn.wordpress.org/gweather/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/gweather/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gweather/)。

## 额外信息

 *  版本 **1.10**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.5 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/gweather/)
 * 标签
 * [Atom](https://cn.wordpress.org/plugins/tags/atom/)[embed](https://cn.wordpress.org/plugins/tags/embed/)
   [feed](https://cn.wordpress.org/plugins/tags/feed/)[inline](https://cn.wordpress.org/plugins/tags/inline/)
   [rss](https://cn.wordpress.org/plugins/tags/rss/)
 *  [高级视图](https://cn.wordpress.org/plugins/gweather/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/gweather/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gweather/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gweather/)