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

ACF: Field Selector

外掛說明

The filed selector field allows the selection of other custom fields. This is useful in situations where you want to give the user powerful display options. You could, for example, allow the user to select which custom fields are displayed in a post.

ACF Compatibility

This ACF field type is compatible with both ACF 4 and ACF 5.

Thanks

螢幕擷圖

  • ACF control for field creation
  • The user-facing field selector

安裝方式

Automatic Installation

Installing this plugin automatically is the easiest option. You can install the plugin automatically by going to the plugins section in WordPress and clicking Add New. Type “ACF Field Selector” in the search bar and install the plugin by clicking the Install Now button.

Manual Installation

  1. Copy the acf-field-selector-field folder into your wp-content/plugins folder
  2. Activate the Google Field Selector plugin via the plugins admin page
  3. Create a new field via ACF and select the Role Selector type
  4. Please refer to the description for more info regarding the field type settings

For Developers

For developers I’ve included a filter which allows you to further filter selected fields. At the moment this filter is used to make sure that included and excluded types and groups are reflected in the selectable list.

add_filter( 'acffsf/item_filters', 'selectable_item_filter', 10, 2 )

The first parameter is the list of items to modify, the second is the setting field.

使用者評論

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

參與者及開發者

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

參與者

將〈ACF: Field Selector〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

4.0.0 (2015-04-21)

  • WordPress 4.2 compatibility check
  • Restructured the code

3.0.2

  • Compatibility with 4.1

3.0.1

  • Made sure search is case-insensitive
  • Made sure value was json decoded when returned to the_field

3.0

  • Complete rewrite with custom controls

2.0

  • Added ACF 5 Support
  • Removed ACF 3 Support

1.0

  • Initial Release.