Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.06 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.06 KB

gadlab-meteo

WP Plugin : Hourly and daily weather forecasts for a given place in Switzerland.

Settings

Get json meteo data file from https://prevision-meteo.ch/service/

  1. Enter the name or ZIP code of the location for which you wish to display the weather forecast and hit [ENTER] key. If necessary, select your location within the dropdown menu that appears below, to indicate the exact position.
  2. Go to third sections’s page called JSON and clic in the field filled with the URL of json’s data. Select and copy the link.
  3. Go to wordpress menu Settings > Gad Lab Meteo.
  4. Paste the link in the field named json file’s url under URL’s settings section.
  5. Click on the Save changes button at the bottom of the page.

Usage

Add following shortcodes to your posts:

  • [meteo type="today"] · Display today weather (short version)
  • [meteo type="hours"] · Display today weather informations in 24 hours format
  • [meteo type="forecast"] · Display weather forecast for today and the next three days