Title: USGS Steam Flow Data
Author: Chris Kindred
Published: <strong>2013 年 11 月 29 日</strong>
Last modified: 2023 年 3 月 28 日

---

搜尋外掛

![](https://ps.w.org/usgs-stream-flow-data/assets/banner-772x250.jpg?rev=2622546)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/usgs-stream-flow-data/assets/icon-256x256.jpg?rev=2622546)

# USGS Steam Flow Data

 由 [Chris Kindred](https://profiles.wordpress.org/chrismkindred/) 開發

[下載](https://downloads.wordpress.org/plugin/usgs-stream-flow-data.23.03.01.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/usgs-stream-flow-data/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/usgs-stream-flow-data/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/usgs-stream-flow-data/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/usgs-stream-flow-data/#developers)

 [技術支援](https://wordpress.org/support/plugin/usgs-stream-flow-data/)

## 外掛說明

This plugin allows you to use a shortcode to display the USGS River Data for a site
location. The shortcode can be included in Posts, Pages and Text Widgets.

The shortcode allows you to set your own title and whether or not to show a graph
with it.

Example Shortcode:
 [USGS location=’09080400′ title=’Great Place To Fish’ graph=’
show’]

## 螢幕擷圖

 * [[
 * Site Code Search By State
 * [[
 * Admin Page
 * [[
 * Showing USGS Data as a Widget
 * [[
 * Showing USGS Without Graphs in a Post

## 安裝方式

#### Using The WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for ‘USGS Steam Flow Data’
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `usgs-stream-flow-data.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download `usgs-stream-flow-data.zip`
 2. Extract the `usgs-stream-flow-data.zip` directory to your computer
 3. Upload the `usgs-stream-flow-data.zip` directory to the `/wp-content/plugins/` 
    directory
 4. Activate the plugin in the Plugin dashboard

## 常見問題集

### How do I use the short code?

Enter [USGS location=’09080400′ graph=’show’ title=’The Title’]. The location is
the Site Code for the station, graph is set to ‘show’ to show the graphs, the title
is what you want to display as a title. If this is blank it will display the location
name.

### How do I find the Site Code?

You can find the Site Code quickly and easily by searching for it based on state
in the easy to use Site Code Search tab on the plugin settings page.

### Why is the data not updating?

There is a built in cache for the data. The data will update every 15 minutes in
order to help with site speed and limit the calls to USGS.

## 使用者評論

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

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-31413/)󠁿

 [Kevin](https://profiles.wordpress.org/torahboy/) 2021 年 7 月 4 日

Thanks for the dedication. It works great! We fly fish the Mighty Mo in Montana!

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

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-19643/)󠁿

 [ahinerfeld](https://profiles.wordpress.org/ahinerfeld/) 2018 年 10 月 30 日 1 
則留言

I am supporting a web site for a National River Trail and I have been looking for
an easy way to incorporate USGS Stream Flow data in to the site. This very simple
plugin does exactly what I need. Well done sir.

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

### 󠀁[It’s great!](https://wordpress.org/support/topic/its-great-130/)󠁿

 [ascii122](https://profiles.wordpress.org/ascii122/) 2017 年 4 月 1 日

Very handy and easy to look up codes. I wish there were more sensors in our area
but we have the big rivers. Thanks a lot

 [ 閱讀全部 6 則使用者評論 ](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈USGS Steam Flow Data〉的開發相關工作。

參與者

 *   [ Chris Kindred ](https://profiles.wordpress.org/chrismkindred/)

[將〈USGS Steam Flow Data〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/usgs-stream-flow-data)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/usgs-stream-flow-data/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/usgs-stream-flow-data/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/usgs-stream-flow-data/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/usgs-stream-flow-data/)。

## 變更記錄

#### 22.05.01

 * Added `kwc_usgs_before_sitevalues_list` action before sitevalues list.
 * Added `kwc_usgs_after_sitevalues_list` action after sitevalues list.
 * Added `kwc_usgs_water_temp`, `kwc_usgs_flow`, `kwc_usgs_gageheight` filters.
 * Tested up to WP Core 6.0.

#### 22.04.01

adds:
 – Tested with 5.9.2 – Code Analysis testing for cleaner code and less potential
errors.

fixes:
 – An error in the shortcode when a location is not found.

#### 21.11.04

fixes: Error where you couldn’t have multiple shortcodes on a page.

#### 21.11.03

adds: version bump.

#### 21.11.02

removes: .wordpress-org from deployment

#### 21.11.01

adds: refactor the majority of the plugin to allow for easier changes in the future.

adds: The ability to change the template for the shortcode by includeing a usgs.
php file in your theme or plugin. adds: tested up to 5.8.1. removes: WP Support 
is now 5.5 and up. removes: PHP compatibility is now 7.0 and up.

#### 21.05.01

Tested up to 5.7.2.
 Update transient to limit key length.

#### 20.08.02

Update admin remote call to allow for 45 seconds before timeout.

#### 20.08.01

Tested plugin up to 5.5.
 Updated versioning system to CalVer (https://calver.org/).

#### 2.8

Tested plugin up to 5.3.

#### 2.7.1

Adds additional tests and allows for more trusted call to API Url.

#### 2.7

Tested with WordPress 4.9.8

#### 2.6

Update to build process to allow for Travis-ci.org integration and unit testing

#### 2.5.1

Fixes error with Graph Loading

#### 2.5

Updated URL Fetch to use the `wp_remote_get()` function
 Tested up to 4.9.4

#### 2.4.2

Updated url for location search

#### 2.4.1

SSL Fix for Graphs

#### 2.4

Tested up to 4.5

#### 2.3

Tested up to 4.3

#### 2.2.1

Tested Up To 4.2.3

#### 2.2

Tested Up To 4.2

#### 2.1

Fixed issue with graphs showing up if there is no data

#### 2.0.1

Fixed issue with Temp Conversion
 Tested with WP 4.1.1 Updated KWC Logo

#### 2.0.0

Tested with 4.0
 Removed old MP5 references Setup cache busting for images Limited
calls to USGS to every 15 minutes

#### 1.0.7

Tested with 3.9
 Updated plugin Description to fit on WordPress.org Updated ScreenShots
to match 3.9

#### 1.0.4

Updated Plugin Description

#### 1.0.3

Tested with 3.9

#### 1.0.2

Updated icons to match new admin UI
 Tested plugin with 3.8

#### 1.0.1

Updated the zip file name to match WordPress created zip file.

#### 1.0.0

Starting Version

## 中繼資料

 *  版本 **23.03.01**
 *  最後更新 **3 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 5.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.2.9**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/usgs-stream-flow-data/)
 * 標籤:
 * [USGS](https://tw.wordpress.org/plugins/tags/usgs/)[water level](https://tw.wordpress.org/plugins/tags/water-level/)
 *  [進階檢視](https://tw.wordpress.org/plugins/usgs-stream-flow-data/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  6 個 5 星使用者評論     ](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/usgs-stream-flow-data/reviews/)

## 參與者

 *   [ Chris Kindred ](https://profiles.wordpress.org/chrismkindred/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/usgs-stream-flow-data/)

## 贊助

想要支援這個外掛的發展嗎？

  贊助這個外掛