WP Manifestindependent plugin directory
manifest / utilities / gadlab-meteo

Gad Lab Meteo

Gad Lab Meteo • WP Plugin

by Gad Lab · github.com/gadlab/gadlab-meteo · website

1stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/gadlab/gadlab-meteo/archive/refs/heads/master.zip

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