WP Manifestindependent plugin directory
manifest / content / wp-windy

WP Windy Map

windy radar as a wordpress plugin

by NarcolepticNerd · github.com/rcg4u/wp-windy

★ 0stars
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/rcg4u/wp-windy/archive/refs/heads/main.zip

WP Windy Map Plugin

Description

The WP Windy Map Plugin allows you to embed a customizable Windy map into your WordPress site. You can configure the map's latitude, longitude, temperature units, and radar type through the WordPress admin panel.

Features

  • Embed a Windy map using a simple iframe.
  • Configure the map's latitude and longitude to display specific locations.
  • Choose between Celsius and Fahrenheit for temperature units.
  • Select radar type: Temperature, Rain, Wind, Clouds, Pressure, Waves, Snow Depth, Satellite, Radar, Humidity, Dew Point, Visibility, or Thunderstorms.
  • NEW: Use a shortcode to embed the map on any page or post.
  • NEW: Improved settings page with geolocation support and shortcode display option.

Installation

  1. Download the plugin files.
  2. Upload the plugin folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.

Configuration

  1. Navigate to Tools > WP Windy in the WordPress admin panel.
  2. Configure the following settings:
    • Station Latitude: Enter the latitude of the location you want to display.
    • Station Longitude: Enter the longitude of the location you want to display.
    • Temperature Units: Select either Celsius or Fahrenheit.
    • Radar Type: Choose the type of radar to display (Temperature, Rain, Wind, Clouds, Pressure, Waves, Snow Depth, Satellite, Radar, Humidity, Dew Point, Visibility, Thunderstorms).
    • Show Shortcode: Decide whether to display the shortcode on the settings page.
  3. Save your changes.

Usage

Shortcode

Use the [windy_map] shortcode to embed the Windy map on any page or post. Example:

[windy_map]

Settings Page

The settings page allows you to:

  • Set the latitude and longitude for the map's location.
  • Choose the temperature units (Celsius or Fahrenheit).
  • Select the radar type to display.
  • Use the "Use Current Location" button to auto-fill your coordinates based on your browser's geolocation.

Changelog

Version 1.3

  • Added a button to use the current location for latitude and longitude.
  • Displayed a radar preview on the settings page.
  • Improved the settings page with a more interactive user interface.

Version 1.1

  • Added shortcode support for embedding the map on pages or posts.
  • Improved settings page with geolocation support.
  • Added radar type configuration.
  • Added option to show or hide the shortcode on the settings page.

Version 1.0

  • Initial release with configurable latitude, longitude, and temperature units.