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

Family Wiki

外掛說明

This plugin transforms your WordPress install into a Wiki for keeping your family history.

Recommended setup

In wp-admin go to Settings Reading and set a static homepage. The plugin also adds an option I would like my site to be private, visible only to myself and users I choose which will usually be an option you’ll want to use since only registered users should be allowed to edit.

Create new users with Wiki User (can edit pages) or Wiki Editor (can also delete pages). Unfortunately otherwise only the roles Editor or Administrator will allow them to edit pages.

If you created a calendar page, set the option family_wiki_calendar_page, for example with the cli command wp option add family_wiki_calendar_page /Calendar, then the dates will be linked to that page.

Advanced Custom Fields

The plugin has switched to using Advanced Custom Fields for wiki page metadata. Please install that plugin in version 6.2 or up. The fields should be automatically restored using the provided JSON file in the acf-json/ directory.

For each wiki page, you can enter data like birth or death date as well as mother/father/children relationships. This data is used for the calendar page but also for automatically generating a short bio using the shortcode [name_with_bio]. You’d put this as the first thing in a wiki page.

Gutenberg Blocks

The Family Calendar block will show all dates from the wiki.

The Birthday Calendar block will show all dates of living people (determined by showage, see above) from the wiki.

Performance

For displaying the red missing links or green external links, all pages are evaluated on page load. This works for small sites but won’t work well if you have thousands of pages.

Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.

螢幕擷圖

適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Birthday Calendar
  • Family Calendar

使用者評論

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

參與者及開發者

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

參與者

〈Family Wiki〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Family Wiki〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.9

  • Translated ACF fields to German.
  • Lots of translation fixes.
  • Fix translation loading to translate.wordpress.org.
  • Redirect to the front page after logging in.
  • Improve output escaping.

1.1.0

  • Switch to using Advanced Custom Fields for metadata.

1.0.0

  • Initial version