WP Manifestindependent plugin directory
manifest / utilities / gadlab-meteo

Gad Lab Meteo

Gad Lab Meteo • WP Plugin

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/gadlab/gadlab-meteo/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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