This add-on for Broadcast allows for better control of how attachments are handled during broadcasting.
Normally, when a post is broadcasted, all attachments that are directly attached or found to be related to the post – for example by the ACF add-on – are copied to each child blog.
This add-on will prevent that behavior by giving the user options for handling attachments:
- Default behavior does exactly what it says.
- Skip all attachments will forget all attachments related to the post.
- Skip all except featured image will forget all attachments except for the featured image.
Can we select “Skip all attachments” as the default?
We have purchased the Premium pack and do not want to broadcast the ACF gallery images to sub site on a multistite setup.
Yes. You can either use some javascript to select the correct value (see this snippet) or use User & Blog Settings to create a modification that does that.
I’d use the Javascript way, since it’s much simpler.
//always select skip all on attachment broadcast control so they dont get duplicated
jQuery( “#plainview_sdk_broadcast_form2_inputs_select_ac_general option[value=’skip_all’]” ).attr(‘selected’,’selected’);