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.
- Description
- Installation
- Features
- Plugin Structure
- Usage
- API Key Setup
- AJAX Handling
- Supported Cities
- License
- Author
- Changelog
Follow these steps to install and set up the Mon Weather plugin:
- Download the plugin files and upload them to the
/wp-content/plugins/mon-weather/
directory on your WordPress installation. - Activate the plugin through the 'Plugins' menu in WordPress.
- Navigate to 'Settings' > 'Mon Weather' to configure the API key and default city.
- 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.
(TBD - Describe file structure if needed)
(TBD - Provide instructions on how to use the plugin, including shortcodes and widget setup)
- Sign up on OpenWeatherMap to get an API key.
- Enter the API key in the 'Settings' > 'Mon Weather' section of your WordPress admin panel.
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.
The plugin supports major cities worldwide. You can add or modify supported cities in the settings panel to match your preferences.
This plugin is licensed under GPL2.
Monsterdesign Website: https://monsterdesign.vn/
Version 2.0
- Improved city search functionality
- Enhanced performance and stability
- Better user experience and interface improvements
- Bug fixes and security updates