Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

USGS Steam 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
  • Página de Administración
  • 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 from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download
  2. Extract the directory to your computer
  3. Upload the 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.


4 de julio de 2021
Thanks for the dedication. It works great! We fly fish the Mighty Mo in Montana!
30 de octubre de 2018 1 respuesta
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.
1 de abril de 2017
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
Leer todas las 6 reseñas

Colaboradores y desarrolladores

«USGS Steam Flow Data» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «USGS Steam Flow Data» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • 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.


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

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


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


adds: version bump.


removes: .wordpress-org from deployment


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.


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


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


Tested plugin up to 5.5.
Updated versioning system to CalVer (


Tested plugin up to 5.3.


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


Tested with WordPress 4.9.8


Update to build process to allow for integration and unit testing


Fixes error with Graph Loading


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


Updated url for location search


SSL Fix for Graphs


Tested up to 4.5


Tested up to 4.3


Tested Up To 4.2.3


Tested Up To 4.2


Fixed issue with graphs showing up if there is no data


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


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


Tested with 3.9
Updated plugin Description to fit on
Updated ScreenShots to match 3.9


Updated Plugin Description


Tested with 3.9


Updated icons to match new admin UI
Tested plugin with 3.8


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


Starting Version