このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Visual Crossing Weather Forecast

説明

This plugin allows you to display beautifully formatted Weather Forecasts using a simple shortcode. You can insert this shortcode anywhere in your WordPress post or page.

Weather by visualcrossing.com

The weather data is powered by Visual Crossing Weather.

Requires a free or paid key to access the data.

Once you have the API Key, you can save it in the WordPress admin panel under 'Settings' -> 'Weather Forecast Settings'

Shortcode

The plugin enabled a shortcode that allows you to display a weather forecast for any location worldwide:

  • [weather]: display weather forecast using global settings.
  • [weather loc="London, UK" days="4"]: display weather forecast overriding global settings using parameters.

Shortcode parameters

  • loc=” (String – Location or Address for which you want to fetch and display weather the forecast)
  • days=7 (Number – Number of days for which you want to display weather forecast)
  • mode=” (string (can be “simple” or “d3”) – Used to indicate the format in which to display the weather forecast)
  • title=” (String – Text you want to display above the weather forecast widget. Used only in “simple” mode)
  • showtitle=” (string (can be “Yes” or “No”) Used to Hide or display the title)
  • unit=” (string (can be “US” or “Metric”) – Unit system in which to display the weather forecast)
  • conditions=” (string (can be “Yes” or “No”) – Used to Hide or display condition details.)

スクリーンショット

  • Setting Page
  • Insert shortcode in WordPress Page or Post
  • Simple Weather Forecast Demo
  • D3 Weather Forecast Demo

インストール

  1. Add the plugin contents to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Register for a Visual Crossing API Key
  4. Add your API Key to the settings field in ‘Settings’ -> ‘Weather Forecast Settings’
  5. Use the [weather] shortcode to display the weather forecast anywhere on your WordPress site

The easiest shortcode setting is just: [weather]

評価

2023年12月5日
Visual Crossing Weather Forecast offers precise forecasts through their API and its user-friendly interface facilitates easy integration of weather widgets on any page using shortcodes.
0件のレビューをすべて表示

貢献者と開発者

Visual Crossing Weather Forecast はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Visual Crossing Weather Forecast” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.1

  • Plugin compatibility tested.

1.0.0

  • Initial load of the plugin.