Skip to content

Mon Weather is a WordPress plugin that allows users to display real-time weather information on their website with an intuitive city selection dropdown

Notifications You must be signed in to change notification settings

monterdesign/mon-weather-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mon Weather Plugin

Description

Mon Weather is a WordPress plugin that allows users to display real-time weather information on their website with an intuitive city selection dropdown. Powered by the OpenWeatherMap API, the plugin supports seamless integration via shortcodes or widgets, making it easy to add weather updates anywhere on your site. Version 2.0 brings enhanced performance, better city search functionality, and improved user experience.

Table of Contents

Installation

Follow these steps to install and set up the Mon Weather plugin:

  1. Download the plugin files and upload them to the /wp-content/plugins/mon-weather/ directory on your WordPress installation.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to 'Settings' > 'Mon Weather' to configure the API key and default city.

Features

  • Real-Time Weather Data: Fetches and displays up-to-date weather information using the OpenWeatherMap API.
  • City Selection Dropdown: Choose from a list of cities without refreshing the page, now with improved support for cities like Nha Trang, VN.
  • AJAX-Powered Updates: Seamlessly updates weather data when a new city is selected.
  • Shortcode & Widget Support: Easily embed weather information using shortcodes or drag-and-drop widgets.
  • Responsive Design: Fully optimized for both mobile and desktop devices.
  • Customizable Settings: Configure default city, API key, and display options via the admin panel.

Plugin Structure

(TBD - Describe file structure if needed)

Usage

(TBD - Provide instructions on how to use the plugin, including shortcodes and widget setup)

API Key Setup

  1. Sign up on OpenWeatherMap to get an API key.
  2. Enter the API key in the 'Settings' > 'Mon Weather' section of your WordPress admin panel.

AJAX Handling

The plugin uses AJAX to update weather data dynamically without requiring a page reload. The AJAX call fetches data from the OpenWeatherMap API based on the selected city and updates the displayed weather information instantly.

Supported Cities

The plugin supports major cities worldwide. You can add or modify supported cities in the settings panel to match your preferences.

License

This plugin is licensed under GPL2.

Author

Monsterdesign Website: https://monsterdesign.vn/

Changelog

Version 2.0

  • Improved city search functionality
  • Enhanced performance and stability
  • Better user experience and interface improvements
  • Bug fixes and security updates

About

Mon Weather is a WordPress plugin that allows users to display real-time weather information on their website with an intuitive city selection dropdown

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published