Install
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/parsyfall/wp_weather_widget/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Description
My Weather Widget is a simple WordPress plugin that allows you to display the current weather for a specified city. It uses a weather API to fetch the latest weather data and displays it in a widget on your site.
Installation
- Download the plugin.
- Extract the plugin files.
- Upload the
my-weather-widgetdirectory to the/wp-content/plugins/directory. - Navigate to the plugin directory:
cd /path/to/your/wp-content/plugins/my-weather-widget. - Install dependencies by running:
composer install - Create a
.envfile in the root of the plugin directory:\ Add your weather API key in the.envfile as follows:WEATHER_API_KEY=your_api_key_here - Add the widget to your sidebar:
- Go to
Appearance > Widgets. - Drag and drop the "My Weather Widget" to your desired widget area.
- Go to
- Configure the widget:
- Enter the name of the city you want to display the weather for.
- Save your changes.
Releases
3 releases.
Tag
Published
v0.0.3
latest
Jul 28, 2024 2 years ago
Jul 26, 2024 2 years ago
Jul 26, 2024 2 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.