Title: Fields
Author: Khanh
Published: <strong>2010 年 7 月 8 日</strong>
Last modified: 2010 年 11 月 5 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/fields.svg)

# Fields

 由 [Khanh](https://profiles.wordpress.org/kacao/) 開發

[下載](https://downloads.wordpress.org/plugin/fields.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/fields/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/fields/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/fields/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/fields/#developers)

 [技術支援](https://wordpress.org/support/plugin/fields/)

## 外掛說明

Fields is a WordPress plugin that let you manage write panels in your write/edit
page. Fields supports post types that can have UIs.

With Fields, you can define boxes which appear in your write panels. A box can contain
a number of groups which are sets of custom fields that you can define. Boxes are
displayed as meta boxes and groups are shown as tabs that can be switched inside
boxes. Within a group, fields can be shown as either textfields, textarea, drop 
boxes, radio group or check boxes.

Fields does not create custom post types, to do so, use other plugins such as WP
Post Type UI.

Brief structure of Fields:

 * Fields can be: textfield, textarea, select (drop box), radio group and check 
   boxes
 * A group contains fields
 * A box contains groups
 * You can choose which groups a box should include and which post types a box should
   appear in

## 螢幕擷圖

 * [[
 * A box with two groups and fields
 * [[
 * Boxes management
 * [[
 * Groups management
 * [[
 * Fields management

## 安裝方式

To install Fields:

 1. Upload the ‘fields’ folder to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin.
 3. Administer in Settings – Fields

## 常見問題集

  Get custom field data

 * To display a custom field’s value, use fs_meta($key, $single = true, $id = ”)
 * To get the value only, use fs_get_meta($key, $single = true, $id = ”)

  Display custom fields in posts

use shortcode _field_ and _field\_count_ e.g. [field key=”title”]. Parameters for[
field] are:

 * key => ” (required)
 * single => ‘yes’ (‘yes’/’no’)
 * separator => ‘, ‘
 * first_separator => ”
 * last_separator => ”
 * before => ”
 * after => ”
 * before_item => ”
 * after_item => ”
 * index => ”
 * slug => ”
 * post_type => ”
 * post_status => ‘publish’

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Khanh ](https://profiles.wordpress.org/kacao/)

[將〈Fields〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/fields)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/fields/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/fields/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/fields/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/fields/)。

## 變更記錄

#### 0.4.3

 * Textfields with multiple values now can optionally be unordered. Unordered Textfields
   have their values in plain text which can be used in query_posts() or wp_query()

#### 0.4.2

 * Export page did not show groups correctly due to a html bug (thanks to Urbn for
   the fix)
 * Export function may now correctly export a box’s position

#### 0.4.1.1

 * Fixed a bug where a box with more than 1 groups would cause error

#### 0.4.1

 * Minor tweaks

#### 0.4

 * New option added to textfield: picker
 * Fixed a bug where ampersand characters (&) in a field’s attritutes caused the
   Export function to output invalid XML
 * “Position” option was hidden in the edit box page
 * Fixed a bug where boxes with no “position” option set did not show on edit screens

#### 0.3.9.1

 * Moved Options, Import and Export tabs into menu Options

#### 0.3.9

 * Added actions: fs_adding_box, fs_box_added, fs_editing_box, fs_box_edited, fs_box_deleted,
   fs_adding_group, fs_group_added, fs_editing_group, fs_group_edited, fs_adding_field,
   fs_field_added, fs_editing_field, fs_field_edited, fs_field_deleted
 * Added new box options: position, include, exclude

#### 0.3.8

 * Fixed a bug where one-column groups were not displayed correctly in IE

#### 0.3.7

 * Minor css tweaks

#### 0.3.6

 * Fixed a bug where textfield and textarea did not show meta values correctly

#### 0.3.5

 * Testing Import & Export features

#### 0.3.4.2

 * Fixed a bug in field_get_meta() where it did not display multiple values properly

#### 0.3.4.1

 * Added filter ‘fs_shortcode’
 * The [field] shortcode now process shortcodes in its the field’s value
 * Fixed a bug where a single-column group did not show the delete button of a textfield

#### 0.3.4

 * field_get_meta() changed
 * Groups now can have layout options

#### 0.3.3

 * Checkbox fields now show options to check all/none
 * Radio fields now show option to clear selection
 * Fixed a bug where tabs did not behave properly

#### 0.3.2.3

 * Minor tweaks

#### 0.3.2.2

 * Fixed a bug where fields could not be modified

#### 0.3.2.1

 * Fixed a bug where the addresses of the setting pages were not generated correctly
   when the WordPress is installed as a sub folder
 * Minor layout fix
 * Removed textarea default values option

#### 0.3.2

 * Fixed a bug where textfield and textarea could not save when there are quotes
   in field data
 * Removed “escape html” option on textfield

#### 0.3.1

 * Shortcodes now can reference other posts

#### 0.3

 * Checkboxes and Radio items can now have multi-column layouts

#### 0.2.5.1

 * Fixed a bug where the [field] shortcode did not display a textfield’s multiple
   values properly

#### 0.2.5

 * Fixed a bug where a textfield’s values were not saved in the correct order

#### 0.2.4

 * Fixed a bug where a just deleted field still shows on the group editing page
 * Added shortcode ‘field’ and ‘field_count’

#### 0.2.3

 * Textfields now can have multiple values
 * Textfields can now store their values with or without html tags escaped
 * Minor html bugs fixed
 * Fields now can have notes attached
 * Added an underscore as a prefix to all custom fields to hide them from the original
   WordPress custom fields editor
 * Added field_get_meta($meta, $single = true, $id = ”) and field_meta($meta, $single
   = true, $id = ”), these functions can be used in themes to display fields

#### 0.2.1

 * Removed the debug panel
 * Added a FAQ section

#### 0.2

 * Resolved some minor bugs
 * Stable version

#### 0.1

 * First release

## 中繼資料

 *  版本 **0.4.3**
 *  最後更新 **16 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.0.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/fields/)
 * 標籤:
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[custom](https://tw.wordpress.org/plugins/tags/custom/)
   [data](https://tw.wordpress.org/plugins/tags/data/)[fields](https://tw.wordpress.org/plugins/tags/fields/)
   [meta](https://tw.wordpress.org/plugins/tags/meta/)
 *  [進階檢視](https://tw.wordpress.org/plugins/fields/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/fields/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/fields/reviews/)

## 參與者

 *   [ Khanh ](https://profiles.wordpress.org/kacao/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/fields/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://calce.net/donate/)