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

wp-stardate

外掛說明

A powerful versitale lightweight stardate plugin with a wide array of functionalities for integrating stardates with your wordpress blog.

  • URL %stardate% permalink rewrite support for posts.
  • Filter various date functions, to have them display stardate instead, or filter nothing at all, and use the…
  • <?php the_stardate() ?> function (or <?php get_the_stardate() ?>) inside of your themes, to get posts stardate.
  • Aapproximate stardate based on several different formulas and variants and sources (like trekguide and wikipedia), including XI (for modern movies), Star Trek Online, as well as Classic (from TNG, VOY …).
  • Shortcodes: [stardate] will expand to the current timestamp in stardate fmt.

The stardate plugin by croakingtoad is supported to wordpress 3.0.5, and has not been updated in five years. Therefore this plugin reincorporates the features of that stardate plugin and adds more functionality besides.

螢幕擷圖

  • Default theme using stardate "Classic" format with the "override_get_date" setting.
  • URL with /blog/%stardate%/%postname%/ in the permalink structure.

安裝方式

  1. unpack the zip into the /wp-content/plugins dir
  2. Activate the plugin through the ‘Plugins’ menu
  3. From the options menu, configure the thing and press “make it so”.
  4. press the “Generate stardates” button to associate stardate with all old posts.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈wp-stardate〉的開發相關工作。

參與者

將〈wp-stardate〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.4

Fix so that get_the_stardate may be called with no params (same as get_the_date). Fix formatting

1.0.3

Fix so that you can override get_the_date only when no formatting params are passed to it (which makes it work nicely with the default teams which uses get_the_date in the <date> tag for the post.)

Test for 4.7.4

1.0.2

Minor refactoring

1.0.1

Added Star Trek Online (SOL) stardate fmt. from comment by MartinSayles

1.0

Initial release.

0.1

First beta version with potential bugs in it.