+
Skip to content

rcg4u/wp-windy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

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.

About

windy radar as a wordpress plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载