Advanced Custom Fields
This add-on for
Broadcast allows for ACF fields to be correctly handled when broadcasting posts between blogs.
If you’re using fields from Elliot Condon’s
Advanced Custom Fields plugin, you will find that certain fields require extra handling: images, relations, repeater fields, etc. The Broadcast ACF plugin will detect that ACF is being used and automatically fix the respective fields in the child posts when broadcasting.
The custom field types supported – in addition to the normal text areas that don’t need any processing – are:
(see notes) files
Image Crop Add-on post objects
The above fields are also supported in:
5 repeater fields
The above field types are also supported in taxonomies
5 ACF Pro only
The add-on does not handle ACF Gutenberg Blocks. Instead, you’ll have to use the various Gutenberg add-ons:
Attachments, Posts, Terms.
Broadcasting field groups
The requirement for correct field handling is that the
ACF Field Group from the parent blog is broadcasted to the child blog first, so that it is duplicated with the exact name field names and keys. You cannot create a field group on the child manually because, although the field names will be correct, the unique keys will not match those found in the posts.
Linking field groups to child blogs will ensure that the fields of the child blogs are updated when the parent is updated.
There is support for broadcasting conditional galleries, with both local and global images (with support from the
Enhanced Media Library plugin) but as of v1.0.1 requires the file acf-conditional_gallery-v5.php be patched:
Line 299 containing the text
$this->checkMultiples($_POST, $post_id); needs to be commented out, otherwise all conditional gallery fields are removed during broadcast. Post object / relationship duplicates
When using post object / relationships the ACF Broadcast plugin will first check that the related posts are broadcasted to the child blog.
If not, the posts are broadcasted and then linked. This will create a duplicate if the related post has not been previously broadcasted.
find unlinked children bulk action to first link the related posts with their child posts on the child blogs before editing the main post, in which the relationship is specified. Tested with
Version 4.4.3 of ACF and 5.8.4 of ACF Pro.
Where to buy
This add-on is a part of the following packs: