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

Synchronised Pages

描述

An easy way to describe this plugin is to give an example: imagine you want to create a small website for a festival in which each concert has specific hours, title, band/musicians, description… Without this plugin, you have to create by hand all the pages. With this plugin you can put all informations in a spreadsheet, create a template for the pages, and then automatically generate all the pages.

The three steps of the workflow:

  1. Create the database of all your events/pages you want to create
  2. Create the template for your futures pages
  3. Launch the tool

In the posts list, you can view all the generated pages tagged with the word ”Synchronised” and the template is tagged with the word ”Template”. Obviously, the generated posts appear to the public.

Development

Development is done on GitHub, in the repository Seb35/Synchronised-Pages. You can report bugs or ask features in the bug tracker, and if you are a developer you are welcome to submit pull request.

Versions on GitHub will be send back to the officiel WordPress repository.

安裝

This section describes how to install the plugin and get it working.

  1. Download the code from GitHub: https://github.com/Seb35/Synchronised-Pages/archive/master.zip
  2. Upload the directory synchronised-pages in the /wp-content/plugins/ directory
  3. Activate the plugin through the “Plugins” menu in WordPress

With default settings, you can only generate pages, not posts; you can change this setting in the menu Settings > Writing > Synchronised Pages.

常見問題

Are the templates public?

No. They are similar to Private posts.

If some pages already exist, are they remplaced or re-created?

Currently, pages whose the title already exist are remplaced, so the old content is overwritten by the generated new content.

Possibly in the future, an option will give the choice.

Is it the same thing as “child pages”?

Not exactly. Child pages is a feature specific for the post type “Page” (not standard “Posts”) where you can say a given page is a child of some other page, it is useful to show a hierarchical list of pages. Here the synchronised pages are only similar in their layout. But if you want make that all synchronised pages have a parent page, it’s up to you to make it – you can automatically get the list of all synchronised pages from a given import.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Synchronised Pages” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Synchronised Pages 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.2

Beta version. First public version.

0.1

Alpha version. Working and stable plugin, could be 1.0 but some parts of code should be rewritten.