[WordPress] 外掛分享: Celestial Lunar Phase Widget

首頁外掛目錄 › Celestial Lunar Phase Widget
WordPress 外掛 Celestial Lunar Phase Widget 的封面圖片
40+
安裝啟用
尚無評分
12 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v2.2.3 上架:2026-04-13

內容簡介

Celestial Lunar Phase Widget 是一款幫助 WordPress 網站顯示當前月相的外掛,提供精美的天文卡片,讓使用者輕鬆查看月相名稱、月出月落時間及其他天文資訊。

【主要功能】
• 顯示當前月相名稱
• 提供月出與月落時間
• 顯示天文黎明與黃昏時間
• 顯示照明百分比
• 本地計算,無需 API 金鑰
• 支援短碼與 Gutenberg 區塊

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Celestial Lunar Phase Widget」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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
Astronomical dawn time
Astronomical dusk time
Illumination percentage
Bundled Moon phase image matched to the phase
Optional location label
Optional calculation/source note

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

Local astronomy calculations; no API key required
Moonrise and moonset times
Astronomical dawn and dusk display
Current lunar phase and illumination percentage
Bundled Moon phase photos packaged locally
Location lookup helper for admin setup
Browser geolocation helper for admin setup
Timezone dropdown to prevent typos and date-shift errors
Latitude, longitude, timezone, and optional elevation settings
Shortcode: [celestial_lunar_phase_widget]
Gutenberg block: Celestial Lunar Phase Widget
12-hour or 24-hour time display
Per-location and per-date caching for better performance
Admin notice after update if location settings need to be completed

Support
Support and documentation are available at:

Lunar Phase Plugin


External Services
This plugin performs all lunar phase, moonrise, moonset, astronomical dawn, and astronomical dusk calculations locally. It does not send visitor data to an astronomy API.
The optional Lookup Location button on the admin settings page uses the OpenStreetMap Nominatim geocoding service to convert a place name into latitude and longitude. This lookup is only triggered by an administrator clicking the button in wp-admin. The query entered by the administrator is sent to Nominatim for geocoding. The service may receive the searched location text, your site’s server IP address, and standard request metadata.
Service provider: OpenStreetMap Nominatim
Terms: https://operations.osmfoundation.org/policies/nominatim/
Privacy: https://osmfoundation.org/wiki/Privacy_Policy
The Use My Current Location button uses the browser’s built-in geolocation prompt. Coordinates are only saved after the administrator clicks Save Changes.

文章
Filter
Mastodon