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

The Moon – Current Phase and Next Eclipse

描述

This plugin allows you to add The Moon to your post, page or sidebar. It will show a graphical representation of The Moon, along with additional information such as the name of the current phase, the percentage of the moon that is illuminated, the age of the moon, the current constellation that the moon is inside, and the date of the next lunar eclipse.

Features

  • Can be added via a widget or shortcode
  • Uses SVG and JavaScript. Compatible with all major browsers and mobile devices
  • Customizable

Usage

  1. Via Appearance > Widgets in your WordPress admin console. Click the + button and then click “The Moon” to add it to your sidebar or other widget section.
  2. Via the shortcode [themoon], you can add this to any post or page. See the FAQ for customization options.

Privacy

This plugin does not:
– collect any information
– set any cookies
– connect to remote servers

螢幕截圖

  • The Moon widget in the sidebar
  • The Moon in a post or page

Blocks

This plugin provides 1 block.

  • The Moon

安裝

WordPress

  1. In your WordPress Admin section, select Plugins > Add New and then search for “The Moon”.

  2. Click Install

  3. Return to the listing of your plugins. Find “The Moon” and click “Activate”.

Manually

  1. Download zip file.

  2. Go to Plugins > Add New > Upload Plugin and upload the zip file.

    OR

  3. Decompress the zip file and using an FTP program to copy the contents to the /plugins/ folder of your WordPress installation.

  4. Go to the Plugins page of your WordPress admin console and activate the plugin.

常見問題

How to add via a widget

  1. In your WordPress admin console go to Appearance > Widgets.
  2. Click the + button and then click “The Moon” to add it to your sidebar or other widget section.
  3. Click “Update” to save the changes.
  4. You can click on “The Moon” widget to show a customization form. The available options are:
    A. Background color
    B. Maximum size of the widget
    C. Whether to show an arrow on the edge of the moon’s terminator shadow showing the direction that it is moving.

How to add via a shortcode

  1. When editing a post or page, add a shortcode block and type [themoon]
  2. You can customize some options by including them in your shortcode.
    A. Background color. The default is transparent. [themoon color=”#ff00ff”]
    B. Maximum Width in pixels. The default is no maximum. [themoon maxwidth=”250″]
    C. Whether to show an arrow on the edge of the moon’s terminator shadow showing the direction that it is moving. The default is to show the arrow. [themoon hidearrow=”1″]
  3. Full customization example: [themoon color=”#ff00ff” maxwidth=”250″ hidearrow=”1″]

評價

2021年11月8日
Works fine, is very clean and neat, I hope to see more features and options. Thank you Developer for making such nice plugin/
閱讀全部2個評價

貢獻者及開發者

“The Moon – Current Phase and Next Eclipse” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者