Title: Fields Framework
Author: Naif Amoodi
Published: <strong>2013 年 7 月 24 日</strong>
Last modified: 2020 年 12 月 7 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Fields Framework

 作者：[Naif Amoodi](https://profiles.wordpress.org/naifamoodi/)

[下载](https://downloads.wordpress.org/plugin/fields-framework.zip)

 * [详情](https://cn.wordpress.org/plugins/fields-framework/#description)
 * [评价](https://cn.wordpress.org/plugins/fields-framework/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/fields-framework/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/fields-framework/#developers)

 [支持](https://wordpress.org/support/plugin/fields-framework/)

## 描述

Please show your support for this plugin by giving it [a rating](https://wordpress.org/support/view/plugin-reviews/fields-framework?rate=5#postform)!

[WordPress Fields Framework Documentation](http://www.rhyzz.com/fields-framework.html)

This plugin can be used to add fields to:

 * Custom Administration Menus and Sub Menus
 * Posts, Pages, Attachments and [Custom Post Types](https://codex.wordpress.org/Post_Types)
 * Categories, Tags and [Custom Taxonomies](https://codex.wordpress.org/Taxonomies)
 * Custom [Widgets](https://codex.wordpress.org/WordPress_Widgets)
 * User Profiles

Sections for Posts and Pages can also be displayed conditionally depending on whether
a Page uses a certain [Page Template](https://codex.wordpress.org/Page_Templates)
or whether a Post uses a certain [Post Format](https://codex.wordpress.org/Post_Formats).
Sections can also be displayed conditionally depending on the Post IDs, Titles or
Slugs.

 * The plugin supports client side validation using JavaScript

#### Fields Supported

Currently the following types of fields are supported:

 * **Group** – A group of fields. You can also create a _group within a group_, 
   i.e. a nested group! Groups can be nested to an infinite level, at least in theory.
 * Text Field
 * Hidden Field
 * Media Field – Let’s you upload a file or enter a custom URL pointing to a file.
   You can use this field for uploading any type of file to the Media library.
 * Textarea
 * Checkbox – You can set whether a checkbox can accept multiple values or not
 * Radio
 * Select – A drop down from which a single or multiple items can be selected depending
   on whether you have allowed selection of multiple values
 * Select_Posts – A drop down which can contain items belonging to any post type
   viz. Posts, Page, Attachments or of any other Custom Post Type
 * Select_Terms – A drop down which can contain terms from any taxonomy which includes
   Tags, Categories or any other Custom Taxonomy
 * Select_Users – A drop down which can contain users registered on the site
 * Editor – A WYSIWYG editor. This is the same one that’s used on the post edit 
   screen by default for editing the content of the post
 * DateTime
 * ColorPicker

All fields except the Editor field can be made repeatable.

#### Additional Field Requests

If you feel the need for an additional field type then please use the [support forum](https://wordpress.org/support/plugin/fields-framework)
and leave your suggestion. This will be looked into ASAP.

## 屏幕截图

[⌊An Administration Menu⌉⌊An Administration Menu⌉[

An Administration Menu

[⌊An Administration Sub Menu⌉⌊An Administration Sub Menu⌉[

An Administration Sub Menu

[⌊Repeatable Field Groups and Nested Field Groups⌉⌊Repeatable Field Groups and Nested
Field Groups⌉[

Repeatable Field Groups and Nested Field Groups

[⌊A section assigned to a page with a page template named 'Showcase Page'⌉⌊A section
assigned to a page with a page template named 'Showcase Page'⌉[

A section assigned to a page with a page template named ‘Showcase Page’

[⌊A Repeatable Field Group with two fields⌉⌊A Repeatable Field Group with two fields⌉[

A Repeatable Field Group with two fields

[⌊A dump of values from a particular section⌉⌊A dump of values from a particular
section⌉[

A dump of values from a particular section

[⌊A custom post type named 'Slide' with a section associated to it⌉⌊A custom post
type named 'Slide' with a section associated to it⌉[

A custom post type named ‘Slide’ with a section associated to it

[⌊A custom post type named 'Service' with a section associated to it⌉⌊A custom post
type named 'Service' with a section associated to it⌉[

A custom post type named ‘Service’ with a section associated to it

[⌊A custom post type named 'Member' with a section associated to it⌉⌊A custom post
type named 'Member' with a section associated to it⌉[

A custom post type named ‘Member’ with a section associated to it

[⌊A custom post type named 'Testimonial' with a section associated to it⌉⌊A custom
post type named 'Testimonial' with a section associated to it⌉[

A custom post type named ‘Testimonial’ with a section associated to it

[⌊An Administration Sub Menu with a bunch of fields⌉⌊An Administration Sub Menu 
with a bunch of fields⌉[

An Administration Sub Menu with a bunch of fields

[⌊A section assigned to posts using the audio post format⌉⌊A section assigned to
posts using the audio post format⌉[

A section assigned to posts using the audio post format

[⌊A section assigned to posts using the video post format⌉⌊A section assigned to
posts using the video post format⌉[

A section assigned to posts using the video post format

[⌊A section assigned to posts using the gallery post format⌉⌊A section assigned 
to posts using the gallery post format⌉[

A section assigned to posts using the gallery post format

[⌊A section assigned to posts using the image post format⌉⌊A section assigned to
posts using the image post format⌉[

A section assigned to posts using the image post format

[⌊A section assigned to a page with a page template named 'About Page'⌉⌊A section
assigned to a page with a page template named 'About Page'⌉[

A section assigned to a page with a page template named ‘About Page’

[⌊Two individual fields⌉⌊Two individual fields⌉[

Two individual fields

[⌊A section assigned to a page with a page template named 'Contact Page'⌉⌊A section
assigned to a page with a page template named 'Contact Page'⌉[

A section assigned to a page with a page template named ‘Contact Page’

[⌊DateTime field⌉⌊DateTime field⌉[

DateTime field

[⌊ColorPicker field⌉⌊ColorPicker field⌉[

ColorPicker field

[⌊A demo of all fields⌉⌊A demo of all fields⌉[

A demo of all fields

[⌊An example of a Fields Widget with a Section selection drop down⌉⌊An example of
a Fields Widget with a Section selection drop down⌉[

An example of a Fields Widget with a Section selection drop down

[⌊A fields widget rendering fields of section associated to it.⌉⌊A fields widget
rendering fields of section associated to it.⌉[

A fields widget rendering fields of section associated to it.

[⌊Front end dump of a widget section⌉⌊Front end dump of a widget section⌉[

Front end dump of a widget section

## 安装

 1. Upload the folder `fields-framework` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create fields using the functions provided and place them inside your theme’s functions.
    php file or inside a plugin.

## 常见问题

### Where is the documentation for this plugin located?

[WordPress Fields Framework Documentation](http://www.rhyzz.com/fields-framework.html)

## 评价

![](https://secure.gravatar.com/avatar/c3919b8792d375e1011cbadd5c963cb1827671a22a3c54df477df20805eb4192?
s=60&d=retro&r=g)

### 󠀁[Wonderful, simple and very useful](https://wordpress.org/support/topic/wonderful-simple-and-very-useful/)󠁿

 [Marie-Aude](https://profiles.wordpress.org/marie-aude/) 2016 年 9 月 3 日

Thank you very much for this great plugin. It’s a very good framework, and it includes
a lot of features you can find only in premium plugins.

![](https://secure.gravatar.com/avatar/166ef8bcbfe9a3fda614500b2ea80bca706134899101aaf0b945fcacd79afece?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-5841/)󠁿

 [alex1011](https://profiles.wordpress.org/alex1011/) 2017 年 2 月 8 日

Great

![](https://secure.gravatar.com/avatar/b037bf64f9f809c8cec2f74d981fd9f14b0cebf3271cfa56f43bbe0971fc989c?
s=60&d=retro&r=g)

### 󠀁[Nice plugin..](https://wordpress.org/support/topic/nice-plugin-1814/)󠁿

 [Sam](https://profiles.wordpress.org/sam0007/) 2017 年 2 月 7 日

This is really a cool plugin just install in my blog 🙂

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/fields-framework/reviews/)

## 贡献者及开发者

「Fields Framework」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Naif Amoodi ](https://profiles.wordpress.org/naifamoodi/)

[帮助将「Fields Framework」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/fields-framework)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/fields-framework/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/fields-framework/)，或通过[RSS](https://plugins.trac.wordpress.org/log/fields-framework/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/fields-framework/)。

## 更新日志

#### 2.2.5

 * Minor update to backend code

#### 2.2.4

 * Minor update related to stable tag and ability to translate plugin

#### 2.2.3

 * Fixed issue related to translations not loading

#### 2.2.2

 * Hide block editor when hide_content_editor is set to true

#### 2.2.1

 * Display title for User sections

#### 2.2

 * Minor updates

#### 1.0

 * Using new version of jQuery repeatable fields plugin
 * Changing major version number from 0 to 1

## 额外信息

 *  版本 **2.2.5**
 *  最后更新：**6 年前**
 *  活跃安装数量 **60+**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  语言
 * [English (US)](https://wordpress.org/plugins/fields-framework/)
 * 标签
 * [custom field](https://cn.wordpress.org/plugins/tags/custom-field/)[custom fields](https://cn.wordpress.org/plugins/tags/custom-fields/)
   [fields](https://cn.wordpress.org/plugins/tags/fields/)
 *  [高级视图](https://cn.wordpress.org/plugins/fields-framework/advanced/)

## 评级

 4.5 星（最高 5 星）。

 *  [  8 条 5 星评价     ](https://wordpress.org/support/plugin/fields-framework/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/fields-framework/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/fields-framework/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/fields-framework/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/fields-framework/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/fields-framework/reviews/)

## 贡献者

 *   [ Naif Amoodi ](https://profiles.wordpress.org/naifamoodi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/fields-framework/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.rhyzz.com/donate.html)