這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

  1. Go to Appearance > Widgets
  2. Find WP Moon Phase Widget
  3. Add to a sidebar
  4. Add a title (optional)
  5. 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.

螢幕擷圖

  • Widget in sidebar
  • Widget in post
  • Adding widget in Appearance > Widgets

安裝方式

  1. Go to Plugins / Add New.
  2. Search for WP Moon Phase Widget in the search box.
  3. The “WP Moon Phase Widget” plugin should appear. Click on Install.

常見問題集

How I can customize the border, width, height?

You can use the main widget CSS class .mph-widget and write your custom styles.
Feel free to contact me (or create a new topic in support forum) if you need help with customization.

使用者評論

2020 年 5 月 21 日
Good looking, easy to use, works for my locations accurately. Love it.
2020 年 1 月 29 日
Small and easy to install. Perfect for displaying the current moon phase. Has plenty of potential for improvement, but very good already.
2019 年 12 月 27 日
Modern and pretty! The remaining plugins on this topic look as if they were born in the previous century. So, it is definitely 5 stars for the appearance! I love how easy it is to work with the plugin. You can add it to the sidebar and change the background color with the color picker in a few seconds. So far, everything is working correctly, geo detection is right for me & the Moon information is accurate. I would also like to be able to customize the Moon phase icons and, maybe, the font. But for the moment, I love it as it is. Thanks a lot to the developer!
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Moon Phase Widget〉的開發相關工作。

參與者

〈WP Moon Phase Widget〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WP Moon Phase Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release.