cm-weather

A simple WordPress plugin for displaying current weather information.

Description

cm-weather is a WordPress plugin project that displays current weather information for a configurable location, using data from WeatherAPI.com. A uilt to explore PHP and WordPress plugin development.

Features

  • Displays current weather for a configurable location
  • Uses WeatherAPI.com for accurate weather data
  • Admin settings page to set location, API key, and default temperature unit

How it works

cm-weather admin settings screenshot

After installing the plugin, site admins can set their preferred location, WeatherAPI.com API key, and temperature unit from the WordPress admin dashboard. Then paste the [weather_card] shortcode wherever you want the widget to appear in your WordPress content. The plugin fetches and displays the latest weather information for the chosen location on the site frontend.

Technology

  • PHP
  • WordPress
  • HTML/CSS
  • JavaScript
  • WeatherAPI.com integration
cm-weather screenshot
← Back to Portfolio