WP Manifestindependent plugin directory
manifest / utilities / weather-plugin

Weather Shortcode

Wordpress Weather plugin to create a shortcode to collect live weather data from a chosen city. [weather_widget city="London"]

★ 0stars

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/baileybusinesssolutions/weather-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Weather Shortcode | Jordan Bailey

Wordpress Weather plugin to create a shortcode to show live weather data from a chosen city. [weather_widget city="London"].

Installation

  1. Download or clone this repository.
  2. Upload the 'weather-shortcode' folder to: /wp-content/plugins/
  3. Activate "Weather Shortcode" from the Plugins menu.

Configuration

  1. Go to: Settings > Weather Shortcode
  2. Enter your OpenWeatherMap API key.
  3. Save changes.

Usage

Add the shortcode to any post or page: [weather_widget city="London"]

Example output: 15°C, Cloudy

Debug Mode

While logged in as an admin, append the following to any URL to clear the cache: ?debug=1

Example: https://example.com/?debug=1

This is intended for development/testing only.