🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Celestial Lunar Phase Widget
Celestial Lunar Phase Widget

Celestial Lunar Phase Widget

0/5 (0 ratings) — active installs Updated Apr 14, 2026
Front-end widget showing the current lunar phase, location, moonrise, moonset, and illumination.

Front-end widget showing the current lunar phase, location, moonrise, moonset, and illumination.

Celestial Lunar Phase Widget helps WordPress sites display the current moon phase in a polished astronomy card.

The plugin shows:

  • Current lunar phase name
  • Moonrise time
  • Moonset time
  • Illumination percentage
  • Bundled moon phase image matched to the returned phase
  • Optional location label
  • Optional WeatherAPI credit line

It includes both a classic shortcode and a Gutenberg block, so site owners can add lunar data in the editor or in traditional content areas.

Ideal for

  • Astronomy and space science websites
  • Observing clubs and public outreach pages
  • Weather and nature blogs
  • Classroom and education sites
  • Hobbyist websites that want a live moon phase widget

Key features

  • Shortcode: [celestial_lunar_phase_widget]
  • Gutenberg block: Celestial Lunar Phase Widget
  • Eight bundled moon phase photos packaged locally
  • Default location and title settings
  • 12-hour or 24-hour time display
  • Per-location and per-date caching for better performance
  • No visitor geolocation in the browser, so your API key stays server-side

Support

Support and documentation are available at:
https://celestialwebdevelopment.com/lunar-phase-plugin/

Blocks

Celestial Lunar Phase Widget

Display the current moon phase with a bundled moon image, phase name, moonrise, moonset, and illumination.

External Services

This plugin connects to the following external service:

WeatherAPI

  • Service URL: https://api.weatherapi.com/v1/astronomy.json
  • What the service does: Returns moon phase, moonrise, moonset, and illumination data for the requested location and date.
  • When data is sent: Only when the block or shortcode is rendered and no cached response is available.
  • What data is sent: The site administrator’s WeatherAPI key, the configured location or override location, and the selected date.
  • Service provider: WeatherAPI
  • Terms of use: https://www.weatherapi.com/terms.aspx
  • Privacy policy: https://www.weatherapi.com/privacy.aspx