| 开发者 | moonical |
|---|---|
| 更新时间 | 2026年11月26日 16:14 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[moonical widget="haircut" shape="badge" look="night"]
widget: today (the default), moon-phases, a topic (topic/hair, topic/skin-nails, topic/cleaning, topic/garden) or an activity, named as in its address on moonical.com (haircut for moonical.com/haircut).shape: card (the default), strip (today), badge (an activity, the moon phases) or month (the moon phases).look: night for the dark look.tz: site for your site's time zone (Settings › General, set as a city), or the name of a time zone such as Europe/London. Without it, every visitor sees their own day.moonical to /wp-content/plugins/.[moonical].There is no settings page: each widget is set up where you place it. Click the widget once in the editor; its settings are in the right-hand sidebar, in the "Block" tab, under "Widget". If that sidebar is closed, open it with the Settings button at the top right.
Under Appearance › Widgets, open the sidebar, click "+" and add the block "Moonical moon calendar". To choose what it shows, click the widget once, then click the Settings button (the gear) at the top right, since this screen starts with the settings closed, and switch to the "Block" tab. Click "Update" when done.
If that screen shows a list of widgets to drag in instead of a "+" (the Classic Widgets plugin, or a theme that keeps the old screen), drag in a "Shortcode" or "Text" widget and type a shortcode into it, such as [moonical] or [moonical widget="moon-phases"].
In the Customizer (Appearance › Customize › Widgets), the block's settings are behind the three dots on its toolbar: "Show more settings". Block themes such as Twenty Twenty-Five have no Appearance › Widgets; add the block in Appearance › Editor instead, in the template.
The plugin stores nothing about your visitors. The widgets set no cookies; their requests to moonical.com appear in Moonical's server logs, see "External services".
No. The widget itself, which moonical.com serves inside the iframe, shows the Moonical name and links to moonical.com for the full calendar. The plugin adds nothing around it: no credit, no "powered by", no link of its own.
By default each visitor's own: the widget shows their day, so a visitor in Sydney sees tomorrow when it is still today in London. Choose "This site's" in the block settings (or tz="site" in the shortcode) to show the day in your site's time zone to everyone. That needs the time zone set as a city under Settings › General, not as an offset like UTC+1.
There are two looks, light and night. The sizes are fixed, so the widget never needs a scroll bar; the strip takes the full width of its column.
From the traditional moon calendar, as books on it have given them for decades. They are tradition, not science; the widgets link to moonical.com, where each activity explains its rule.