Linux 软件免费装
Banner图

Celestial Lunar Phase Widget

开发者 johnfoo
更新时间 2026年6月8日 02:06
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

gutenberg block astronomy moonset moonrise moon phase lunar phase astronomical dawn astronomical dusk

下载

1.1.0 2.2.0 2.2.1 2.2.2 1.0.0

详情介绍:

Celestial Lunar Phase Widget helps WordPress sites display the current Moon phase in a polished astronomy card. The plugin shows: Version 2.2 removes the WeatherAPI dependency and calculates lunar and twilight information locally using the observing location configured in WordPress admin. It also improves setup with a location lookup tool, browser geolocation helper, and timezone dropdown. Key features Support Support and documentation are available at: https://celestialwebdevelopment.com/lunar-phase-plugin/

安装:

  1. Upload the plugin folder to /wp-content/plugins/ or install the ZIP from Plugins > Add New > Upload Plugin.
  2. Activate the plugin.
  3. Go to Settings > Celestial Lunar Phase Widget.
  4. Enter a city, state, address, or place name and click Lookup Location, or use Use My Current Location.
  5. Verify the timezone dropdown and save changes.
  6. Add the Celestial Lunar Phase Widget block or place [celestial_lunar_phase_widget] into a post, page, or widget area.

屏幕截图:

  • Plugin settings screen.

升级注意事项:

2.2.0 WeatherAPI has been removed. After updating, visit Settings > Celestial Lunar Phase Widget and use Location Lookup or Use My Current Location, then verify timezone and save settings. 2.1.0 WeatherAPI has been removed. After updating, visit Settings > Celestial Lunar Phase Widget and save latitude, longitude, and timezone for your observing location.

常见问题:

Does the plugin require an API key?

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.

Why do I need latitude and longitude?

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.

What happens when upgrading from an older API-based version?

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.

Why might times differ from Timeanddate.com or other services?

Moonrise and moonset times can differ between services because of location precision, elevation, terrain/horizon assumptions, atmospheric refraction, and calculation methods.

Does the plugin include Moon images?

Yes. Eight Moon phase images are bundled locally inside the plugin package.

Does the plugin include a Gutenberg block?

Yes. The plugin includes a dynamic Gutenberg block with editor controls for location label, date, title, and display options.

更新日志:

2.2.0 2.1.0 2.0.9 2.0.8 2.0.2 2.0.0 1.1.0 1.0.0