[WordPress] 外掛分享: WP Moon Phase Widget

首頁外掛目錄 › WP Moon Phase Widget
WordPress 外掛 WP Moon Phase Widget 的封面圖片
200+
安裝啟用
★★★☆☆
3.8/5 分(4 則評價)
2275 天前
最後更新
問題解決
WordPress 4.7+ PHP 5.6+ v1.0.0 上架:2019-12-25

內容簡介

WP Moon Phase Widget 外掛允許您在側邊欄或文章中添加一個很棒的月相小工具。

主要功能

自動地理位置偵測
顯示月相名稱和圖像
顯示月出和月落時間
顯示月相時的星座
可更改背景顏色
可將小工具添加到側邊欄或文章(透過短代碼)

您可以在這裡學習更多關於月相的資訊 (英文網站)

使用說明
在側邊欄中

您可以將小工具添加為標準的 WordPress 小工具。

前往外觀 > 小工具
尋找 WP Moon Phase Widget
將其添加到側邊欄
添加標題(可選)
設定所需的背景顏色(預設為白色)

在文章或頁面中

您可以透過短代碼將小工具添加到文章或頁面:

[mph-widget]

具有指定背景顏色的:

[mph-widget color="#ffffff"]

同時間您僅能使用一個小工具。因此,如果您想將其添加到文章中,必須從側邊欄中刪除小工具。

致謝

基於 moon-phase-widget JavaScript 函式庫。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

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

原文外掛簡介

WP Moon Phase Widget plugin allows you to add an awesome moon phase widget to sidebar or post.
Key features

Auto Geo detection
Moon phase name and image
Moonset and moonrise time
Moon zodiac sign
Ability to change the background color
Ability to add the widget to a sidebar or a post (via shortcode)

You can learn more about moon phase here
Usage
In sidebar
You can add a widget as a standard WordPress widget.

Go to Appearance > Widgets
Find WP Moon Phase Widget
Add to a sidebar
Add a title (optional)
Configure desired background color (default is white)

In a post or a page
You can add the widget to post or page via shortcode:
[mph-widget]

With specified background color:
[mph-widget color="#ffffff"]

You can use only one widget at a time. So if you want to add it to post, delete it from the sidebar.
Credits
Based on moon-phase-widget javascript library.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon