Linux 软件免费装
Banner图

SunnyTracker Widgets

开发者 andrelyonberg
更新时间 2026年10月3日 05:19
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

photography sunrise sunset moon phase golden hour

下载

1.1.0 1.2.1 1.2.0 1.2.2

详情介绍:

Show your visitors when the sun rises and sets – on a campsite, hotel, wedding venue, sailing club, fishing or photography blog. Everything updates itself every day. Made for photographers The Photo light card shows the day's blue and golden hours on a 24-hour bar, what is on now or next with a live countdown, and where the sun rises and sets – in degrees and as a compass point. The large size adds the moon phase with moonrise and moonset. For photo spot guides, workshops and photo tours, and for landscape, wedding or astro photography blogs. As text in your theme's style, [sunnytracker_times city="reykjavik" show="photo"] lists the blue and golden hours, sunrise and sunset with their direction, and the moon phase. In the "Sun & moon times" block it is one click: "Photography preset". Two blocks for the block editor Both blocks have a city search built in. For a place outside town – a campsite, a beach, a venue – use coordinates instead. Shortcodes for the classic editor, page builders and text widgets, including a single time inside a sentence: “Sunset tonight: [sunnytracker_time city="hamburg" field="sunset"]”. Sidebar widget for classic themes under Appearance → Widgets. Settings → SunnyTracker sets the default city, language and colours for the whole site. In your language: cards, text times, blocks and settings come in ten languages – English, German, French, Spanish, Italian, Polish, Dutch, Portuguese, Japanese and Chinese – and follow your site language, regional variants included. Improve the translations on translate.wordpress.org. Times are calculated by SunnyTracker with the NOAA solar algorithm (refraction included) and Meeus lunar theory. Polar night and midnight sun are handled. No account and no API key needed.

安装:

  1. Install the plugin under Plugins → Add New and activate it.
  2. Optional: set your city and language under Settings → SunnyTracker.
  3. Add the block "SunnyTracker widget" or "Sun & moon times" to a post or page – or use a shortcode.

屏幕截图:

  • The "Sun & moon times" block in the editor: place, day and the fields to show.
  • The "SunnyTracker widget" block with city search, widget type, size, colours and language.
  • Settings → SunnyTracker: defaults for the whole site, the optional source link and a preview of the times.
  • The Photo light card for photographers: blue and golden hour on a 24-hour bar, a live countdown and the direction of sunrise and sunset – large with the moon, dark or light, in ten languages.

升级注意事项:

1.2.2 Now also in French, Spanish, Italian, Polish, Dutch, Portuguese, Japanese and Chinese. 1.2.1 German translation, a language option for the text times, and source links in the reader's language. 1.2.0 For photographers: a Photo light card, sunrise and sunset direction and a photography preset. 1.1.0 Blocks, text times, a sidebar widget and a settings page.

常见问题:

How do I find the slug of my city?

The blocks have a city search. For shortcodes, search for your city on sunnytracker.com and take the last part of the address, e.g. new-york from sunnytracker.com/new-york.

Which card suits a photography site?

"Photo light" (type="photo"): the blue and golden hours on one bar, a countdown to the next good light and the direction of sunrise and sunset. As text, show="photo" gives the same in your theme's style.

Does the plugin add a link to my site?

Only if you want it: a small "SunnyTracker" source link can be switched on under Settings → SunnyTracker or per block and shortcode. It is off by default.

Does it set cookies or slow down my pages?

No cookies. The text times are fetched on your server once per place and day and then cached, so your pages do not wait for SunnyTracker. The cards load lazily as iframes. Details under "External services".

Which languages does it speak?

English, German, French, Spanish, Italian, Polish, Dutch, Portuguese, Japanese and Chinese – the cards as well as the text times, blocks and settings. Everything follows your site language; lang on a shortcode or block picks another. Formal and Swiss German, formal Dutch, Brazilian and European Portuguese, and Simplified and Traditional Chinese have translations of their own; other regional variants use the closest one, e.g. Mexican Spanish the Spanish one. With the source link on, it leads to SunnyTracker in the reader's language, e.g. sunnytracker.fr for French.

The card is cut off in a narrow column

The cards have a fixed width: 280 px (compact), 320 px (default) or 380 px (large). In a narrow column or sidebar choose "Compact", or use the "Sun & moon times" block, which fits any width.

What if SunnyTracker cannot be reached?

Visitors see nothing where the times would be; logged-in editors see a short note. The plugin tries again after ten minutes.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.0 1.0.0