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

Fields Framework

描述

Please show your support for this plugin by giving it a rating!

WordPress Fields Framework Documentation

This plugin can be used to add fields to:

Sections for Posts and Pages can also be displayed conditionally depending on whether a Page uses a certain Page Template or whether a Post uses a certain Post Format. 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 and leave your suggestion. This will be looked into ASAP.

屏幕截图

安装

  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

评价

2017 年 2 月 7 日
This is really a cool plugin just install in my blog 🙂
阅读所有10条评价

贡献者及开发者

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

贡献者

帮助将「Fields Framework」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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