| 开发者 | johnfoo |
|---|---|
| 更新时间 | 2026年9月25日 23:28 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[celestial_lunar_phase_widget]/wp-content/plugins/ or install the ZIP from Plugins > Add New > Upload Plugin.[celestial_lunar_phase_widget] into a post, page, or widget area.No. Version 2.2 calculates the Moon phase, moonrise, moonset, astronomical dawn, and astronomical dusk locally. No WeatherAPI key or external astronomy data service is required.
Moonrise, moonset, dawn, and dusk are location-specific. Version 2.2 uses the configured latitude, longitude, and timezone to calculate the correct local values. The settings page includes Location Lookup and Use My Current Location helpers to make this easier.
After the update, WordPress admins will see a notice asking them to complete the new location settings. The widget will display a safe setup message until latitude, longitude, and timezone are saved. Use Location Lookup or Use My Current Location from the settings page.
Moonrise and moonset times can differ between services because of location precision, elevation, terrain/horizon assumptions, atmospheric refraction, and calculation methods.
Yes. Eight Moon phase images are bundled locally inside the plugin package.
Version 2.3 can orient the bundled Moon image for the observer's hemisphere. Automatic mode uses the configured latitude. The bundled images use a Southern Hemisphere orientation, so Northern Hemisphere display is rotated 180 degrees. This is a practical hemisphere representation; the Moon's exact apparent angle also varies with date, time, latitude, and position in the sky.
Yes. The plugin includes a dynamic Gutenberg block with editor controls for location label, date, title, and display options.