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

首頁 › 外掛目錄 › Celestial Lunar Phase Widget
WordPress 外掛 Celestial Lunar Phase Widget 的封面圖片
50+
安裝啟用
★★★★★
5/5 分(1 則評價)
3 天前
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v2.3.0 上架:2026-04-13

內容簡介

Celestial Lunar Phase Widget 是一款幫助 WordPress 網站顯示當前月相的外掛,提供精美的天文卡片,包含月相名稱、月出月落時間及光照百分比等資訊,讓使用者輕鬆掌握天文現象。

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

外掛標籤

開發者團隊

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

① 下載 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.3 uses local astronomy calculations and adds automatic Moon image orientation by hemisphere. The plugin can rotate the bundled lunar imagery for Northern Hemisphere observers, with manual Northern, Southern, and Original orientation overrides in Settings.
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
Automatic Moon image orientation based on configured latitude
Manual Northern Hemisphere, Southern Hemisphere, and Original image orientation options

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