Skip to content

anthonyhartnell/weatherpress-dashboard

Repository files navigation

weatherpress dashboard logo

WeatherPress Dashboard

A simple plugin to add an API-driven weather widget in the WordPress Dashboard. It uses the Guzzle HTTP client to fetch an API endpoint and formats the result inside the custom widget.

Installation

  1. Register for an API key at https://openweathermap.org/api
  2. Download and install the plugin into wp-content/plugins directory
  3. Run composer install inside the plugin folder. This will download and install the dependencies inside composer.json
  4. Enter your API Key from Open Weather Map and put it in the APPID section where it says 'APPID' => 'YOUR_API_KEY'
  5. Change the city to your preferred city in the q parameter - currently set to 'q' => 'Bristol,uk',

Credits

About

An API-driven weather widget for the WordPress dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published