Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

ACF: Field Selector

Description

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

Captures d’écran

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

Installation

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.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs & développeurs

« ACF: Field Selector » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « ACF: Field Selector » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal

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.