Advanced Custom Fields

Advanced Custom Fields

Advanced Custom Fields

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:

  • conditional galleries (see notes)
  • files
  • galleries
  • images
  • post objects
  • relationships
  • taxonomies

The above fields are also supported in:

  • flexible fields
  • repeater fields

The above field types are also supported in taxonomies 5.

5 ACF Pro only

Notes

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.

Conditional Galleries

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.

Use the 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.3.2.2 of ACF Pro.

Where to buy

This add-on is a part of the following packs:

Comments

  1. Hello
    We bought your premium package and we have a bug that we found. i hope you can help us with it.
    When creating a repeater field in ACF and in this repeater we have a gallery field or and image field the Broadcast plugin don’t grabe the images into the other child posts. All the other text and content fields are ok.
    thanks

    1. I see you’ve gotten a hold of me via e-mail. We’ll solve your problem there.

  2. Hello,

    We are using ACF Options pages (items are stored in the wp_options table) for some content that needs to be broadcast to children blogs. Is there a way to use your plugin to broadcast those settings?

    1. It sounds like “acf options” is a special plugin. If you e-mail me and provide me with the plugin, screenshots of how you’ve set up your ACF field group and some instructions on what you need to do, then I can take a look at it and see what can be done.

    2. Nope. If you send me the ACF options plugin via e-mail I can see about getting something done about it.

Leave a Reply

Your email address will not be published. Required fields are marked *