Automatic Installation
自动安装 h4>
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.
您可以通过转到WordPress中的“插件”部分并单击“添加新项”来自动安装插件。
Type “ACF Field Selector” in the search bar and install the plugin by clicking the Install Now button.
在搜索栏中输入“ ACF字段选择器”,然后单击“立即安装”按钮来安装插件。 p>
Manual Installation
手动安装 h4>
- Copy the
acf-field-selector-field
folder into your wp-content/plugins
folder - 将
acf-field-selector-field code>文件夹复制到您的 wp-content / plugins code>文件夹 li>- Activate the Google Field Selector plugin via the plugins admin page
- 通过插件管理页面激活Google Field Selector插件 li>
- Create a new field via ACF and select the Role Selector type
- 通过ACF创建新字段,然后选择“角色选择器”类型 li>
- Please refer to the description for more info regarding the field type settings
- 有关字段类型设置的更多信息,请参阅说明 li>
ol>
For Developers
对于开发人员 h4>
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.
目前,此过滤器用于确保包含和排除的类型和组反映在可选列表中。 p>
add_filter( 'acffsf/item_filters', 'selectable_item_filter', 10, 2 ) add_filter('acffsf / item_filters','selectable_item_filter',10,2)
code> pre>
The first parameter is the list of items to modify, the second is the setting field.
第一个参数是要修改的项目列表,第二个参数是设置字段。 p>