Advanced Custom Fields: Sites Field Plugin
Adds a sites field type to ACF. Allows for selection of one or multiple sites in a multisite network.
Adds a sites field type to ACF. Allows for selection of one or multiple sites in a multisite network.
This field type gives the user the option to select sites in a network. You might use this to have an ads post type which can be set to be displayed on a single or multiple sites in a network… just as an example!
Compatibility
This ACF field type is compatible with:
Languages
Do you want to translate this plugin to another language? I recommend using POEdit (http://poedit.net/) or if you prefer to do it straight from the WordPress admin interface (https://wordpress.org/plugins/loco-translate/). When you’re done, send us the file(s) to [email protected] and we’ll add it to the official plugin!
Other
- Uses Select2 for ACF 5.
- Completely WordPress Coding standard compliant.
Installation
- Copy the
acf-sites
folder into your wp-content/plugins
folder - Activate the Sites plugin via the plugins admin page
- Create a new field via ACF and select the Sites type
- Please refer to the description for more info regarding the field type settings
Screenshots
Field settings.
Example of field with Multi select.
Changelog
2.0.0
- Complete revamp of the entire codebase. This field now works properly with both latest version of ACF 4 and ACF 5 (PRO). There are new settings and the functionality is greatly improved. Make sure you check the settings of any existing fields after updating as this update does not include a conversion of settings.
1.1.2
1.1.1
- Bugfix – non selected items are no longer automatically selected (same for checkboxes).
- Bugfix – added default values to field options.
1.1.0
- This update adds support for ACF 5.0. It also deprecates ACF 3 so users with ACF3 need to use the previous version of this add-on or update ACF (highly recommended).
1.0.0