外掛說明
The Mars Sol Date block lets you display the post’s published date in terms of Martian sols, starting from Sol 1 at the first post on your site.
A Martian sol is approximately 24 hours, 39 minutes, and 35 seconds long.
Perfect for science blogs and Mars enthusiasts, the block automatically calculates and displays something like “Sol 51”.
How it works:
– Sol 1 is the timestamp of your site’s first published post.
– Each Martian sol is 24h 39m 35s (88775 Earth seconds).
– For each post, the block computes the sol number based on the time difference between that post and the site’s first post.
No configuration required — just insert the block wherever you wish to show the sol date!
To report bugs, offer improvements, or review the unprocessed JS/CSS, visit https://github.com/kraftbj/mars-sol-date .
適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Mars Sol Date A dynamic block that displays the post date as a Martian sol number, starting from the oldest post. Drop-in replacement for core/post-date, but outputs sols instead of Earth date.
安裝方式
- Upload the plugin files to the
/wp-content/plugins/mars-sol-datedirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
常見問題集
-
How is Sol 1 determined?
-
It’s the date and time of the very first (oldest) published post on your site.
-
Will this block update automatically for new posts?
-
Yes, the sol number is calculated dynamically for each post.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
0.1.0
- Initial release.
