Broadcast

Description

Network Content Syndication Made Easy!

Single source content on a WordPress multisite network is now as easy as pie! Syndicate posts to other blogs in the network, update posts between blogs, sync posts, share content templates, etc. Broadcasted posts can be linked to their parents, which updates child posts when the parent post is updated. This includes all data: title, slug, content, custom fields, attachments, etc.

Broadcast, formerly ThreeWP Broadcast, is great for:

  • Chain stores
  • Franchises
  • News sites
  • Schools
  • Anything else with distributed content!

Here are some use cases for Broadcast:

Broadcast

  • Posts, pages, custom post types
  • Taxonomies (categories, tags, etc)
  • Custom fields
  • Attached images
  • Featured images
  • Galleries
  • Custom field blacklist, whitelist, and protect list.
  • User role access granularity
  • CDN support (nominally tested Amazon S3)
  • Many extra features in the add-on packs

SEO support

  • Canonical URLs of child posts.
  • Hreflang links (also see Hreflang add-on in the add-on packs)
  • Permalinks of child posts (also see Permalinks add-on in the add-on packs)
  • Yoast’s WordPress SEO plugin integration and support

Add-on Packs

There are several Broadcast add-on packs that expand the capabilities of Broadcast.

3rd party pack

The following add-ons add support for the plugin after which they are named.

Control pack

These add-ons give you extra control of what you broadcast and how.

  • All Blogs gives all users access to all of the blogs in the network.
  • All Blogs Superadmin allows only superadmins to broadcast to all blogs in the network without having to be a user of the blog.
  • All Images detects all referenced local images in post text fields and adds them to the broadcast.
  • Back To Parent updates the parent post with the new child content.
  • Comments adds support for broadcasting of comments.
  • Custom Field Attachments allows post custom field containing attachment IDs to be broadcasted correctly.
  • Custom Field Posts allows post custom field containing post IDs to be broadcasted correctly.
  • Delete Before Broadcast deletes duplicate and similar child posts on each blog before broadcasting.
  • Hreflang adds support for SEO-friendly hreflang html tags.
  • Keep Child Status keeps the status of post children to private, pending, published, draft, no matter the status of the parent.
  • Local Files automatically copies local files to each blog and updates the links in the content.
  • Local Links automatically updates links to local posts on each child blog.
  • No New Terms prevents taxonomy terms from being created on child blogs.
  • Per Blog Taxonomies allows individual control of specific taxonomies for each child post.
  • Permalinks provides more precise control of permalinks for both parents and children.
  • Protect Child Properties prevents various properties of child posts from being overwritten.
  • Redirect All Children redirects single post views from visitors of child posts to the parent post.
  • Redirect Parent redirect all views of a parent post to the first child post.
  • Search And Replace finds and replaces texts in posts during broadcast.
  • Shortcode Attachments modifies attachment IDs found in shortcodes to match their equivalent attachments on each blog.
  • Shortcode Menus modifies menu IDs found in shortcodes to match their equivalent menus on each blog.
  • Shortcode Posts modifies post IDs found in shortcodes to match their equivalent posts on each blog.
  • Shortcode Terms automatically translates taxonomy term IDs found in shortcodes when broadcasting.
  • Thumbnail Sizes allows for different additional thumbnail sizes on a per-blog basis.
  • Update Attachments updates existing attachments by copying over the files to the child blogs.
  • Unlink On Edit unlinks child posts when they are modified.
  • User & Blog Settings (UBS) can hide the broadcast meta box and/or menu, modify the meta box to force/prevent broadcast to blogs, with separate settings for users / blogs / roles.
  • User & Blog Settings Post uses the modifications from the UBS plugin to broadcast posts with one click.

Efficiency pack

These add-ons allow you to broadcast more efficiently, saving you even more time.

  • Blog Groups 2 provides a means of groups blogs together, in order to be able to quickly select and unselect blogs from the Broadcast meta box.
  • Duplicate Attachments will duplicate the attachment and thumbnails, instead of letting WordPress regenerate them.
  • Find Some Unlinked Children can selectively link orphans / unlinked posts to parents, instead of automatically linking all found children.
  • New Blog Broadcast automatically broadcasts posts when creating a new blog.
  • Purge Children removes children and their attached files from child blogs.
  • Queue adds a broadcast queue which helps to broadcast posts to tens / hundreds / thousands of blogs.
  • Rebroadcast updates selected parent posts by using a bulk action.
  • Send To Many allows mass broadcast of several posts to blogs at once.

Utilities pack

These add-ons do things semi-related to broadcasting, but are good to have none-the-less.

  • Bulk Cloner creates clones of existing blogs on the network.
  • CDN Workaround works around faulty CDNs that do not report the correct URL for attachments.
  • Copy options copies blog options / settings between blogs.
  • Lock Post allows users to lock editing of posts / pages to only themselves and super admins.
  • Media Cleanup: cleans up unused media by looking for unused items in the database and on disk.
  • Menus copies menus between blogs (overwrite / update), with support for equivalent child posts on the child blogs and equivalent taxonomies.
  • Page Content Shortcode provides a [bc_page_content slug="pageslug"] shortcode to display the contents of a page.
  • PHP Code runs custom PHP code on selected blogs. Easily switch themes for all blogs, for example.
  • Shortcodes provides arbitrary admin-defined global or local shortcodes.
  • Sitemaps generates network-aware sitemaps and robots.txt.
  • Sync Taxonomies synchronizes the taxonomies of target blogs with those from a source blog.
  • User Role Sync copies user roles between blogs.
  • Widgets copies widget and sidebar settings between blogs.

Documentation

Although Broadcast is relatively easy to understand by itself, for extra documentation see Broadcast’s online documentation, which covers:

For developers: the code should be well-commented and easily legible for the most part. Extra developer documentation covers:

Misc

The git repository can be found at: https://bitbucket.org/edward_electric/broadcast

Screenshots

  • Broadcast meta box when editing posts
  • How posts and pages can be broadcasted
  • Post overview showing linked children
  • Post overview showing linked parents
  • Bulk actions that can be applied to several marked posts at once
  • Post actions for parent posts
  • Post actions for child posts
  • The Broadcast menu
  • Admin settings tab
  • Maintenance tab
  • Uninstall tab
  • Time savings tab showing how much time Broadcast has saved you

Installation

  1. Activate the plugin sitewide.

FAQ

I need support!

Broadcast is supported in the forum. For users of the add-on packs, support is available via e-mail.

Debug dumps

A debug dump is the long text that is displayed when broadcasting a post with debug mode on. This dump can then be read to see what Broadcast is or isn’t doing.

To switch on debug mode, see the admin settings. If your site is live it would be wise to input your IP in the associated textarea, so that only you see the debug dump.

Blacklist, whitelisting, force broadcast

Broadcasting to specific blogs, hiding blogs and forcing blogs can be acheived with the User & Blog Settings add-on.

Bulk broadcast existing pages

To broadcast many posts at once, see the Send To Many add-on.

Galleries and attachments

How broadcast handles attachments:

  1. Attachments directly attached are stored.
  2. Attachments found in [gallery] shortcodes are stored.
  3. On the child blog, the existing attachments to the post, if any, are automatically deleted to keep attachments clean. This behavior can be configured using custom code or add-ons: Duplicate Attachments, Update Attachments.
  4. The stored attachments are copied.
  5. The thumbnail ID is replaced.
  6. The image URLs in the post content are replaced.
  7. The image IDs in [gallery] shortcodes are replaced.

Do you have a lot of attachments that you don’t want duplicated to hundreds of child blogs, in order to save space? You’ll have to find a way to refer to the images statically instead of using their media IDs. The reason for this is that when WordPress is referred to an attachment, it can only read the media IDs from the current blog. It cannot switch blogs in order to load the image.

Hide broadcast from the users

The broadcast meta box, menu and columns in the post view can be hidden from users / roles / blogs using the User & Blog Settings add-on.

Incompatible plugins

Below is a list of plugins that just will not work properly with Broadcast and / or its addons:

  • Intuitive Custom Post Order – Prevents broadcasting due to switch_to_blog() mismatch.
  • Post Type Switcher – Turns post types into attachments and vice versa.
  • Taxonomy Terms Order – prevents terms from being seen.
  • Tracking Code Manager – prevents User & Blog Settings from working by inserting data into the _POST variable during a normal page GET. Very non-standard behavior.
Orphans?

If you have already created posts on other blogs that are supposed to be children of a specific post, you can use the “find unlinked” bulk action to find and link them.

If the existing posts are not linked, broadcasting a post can result in duplicates.

To be considered an orphan the orphaned posts must have the exact same title (name) as the soon-to-be parent and be of the same post type.

You can also use the Delete Before Broadcast add-on to delete any similar posts on the child blog before broadcasting.

Timeout problems

If you have many attachments in your post, and are broadcasting the post to many blogs, you might encounter a PHP timeout. This means that broadcasting exceeded the PHP time limit and had to be aborted.

There are several solutions to this problem:

  1. Increase the PHP timeout in your PHP.ini settings. This will not speed up broadcasting, only increase your chances of completely broadcasting the post.
  2. Use the Duplicate Attachments add-on. This will duplicate any attachments + thumbnails instead of regenerating them on each child blog.
  3. Use the Queue add-on to put each child broadcast into a queue that is emptied by javascript.

You will not need solution #1 if you use solutions #2 and #3. 🙂

Why can I not see the Broadcast meta box?

Make sure that:

  1. The plugin is network enabled
  2. Your user level has broadcast access (Broadcast access role)
  3. Your user has write access to more than this blog (see Admin settings > Maintenenace > View blog access). You can also use the All Blogs add-on to give yourself access to all blogs.
  4. The correct post type(s) have been selected in the Broadcast settings
  5. The User & Blog Settings add-on is not set to hide the meta box from the user / role / blog
WooCommerce

Broadcast is capable of handling simple WooCommerce products.

  1. In the Broadcast custom post type settings: Add “product”.
  2. Save the product normally first.
  3. Then broadcast, selecting the custom fields and taxonomies checkboxes.

This will broadcast all normal product settings: SKU, price, etc.

If your products have variations, a product image gallery, you want to sync stock, you want to sync orders, need the attribute taxonomies to be synced, you’ll be wanting the WooCommerce add-on.

Reviews

Awesome plugin, even better support!

I just gotta say the level of support I found for this plugin was truly amazing. I had an issue so I decided to submit a ticket on Thursday in hopes that I would get a response by Monday the next week (which I still thought was a stretch). Within a matter of hours I had a full conversation and resolution for the problem. Can’t beat that!

Thank you so much for the awesome plugin and caring about your users!

Super helpful plugin, amazing support

This plugin is pretty much a must-have for sharing posts/pages in a multisite network. I had a problem concerning images in posts. I contacted the support via email and as I pressed the Send button an answer already was received (it was already 10:18pm). After some emails I was able to fix the problem with the help of the support, which is insanely fast, super helpful and very friendly.

Awesome Plugin Best God Damn Support

Plugin works like a charm and does the job perfectly. I had a small issue using it in conjunction with advanced custom fields…called in support and the cavalry arrived..Probably the greatest support out there …a few emails were exchanged and the issue was gone…

Great plugin – Amazing support!

This is an excellent plugin. We’ve used it extensively, with the pro addons, on a big international site and it’s been really useful. We have come across some things that don’t work in quite the way we expected (which is understandable because it’s doing a pretty complex job!), when we’ve run into problems Edward has been amazing with his support, fixing bugs and improving the plugin with us. He responds quickly and has been extremely helpful. Thanks! Chris.

Amazing Plugin and Add ons

So impressed with this plugin and all the add ons, not to mention the very knowledgable author who went out of his way to help me work through a few issues on my end. Really appreciate it! Highly recommend paying for the add ons. Well worth it to get the perfect end result.

Fantastic About Responing

When testing the plugin, I was blown away at how quickly Edward responded to questions. I was worried that would change once we purchased the product because at that point, we’d have already paid, but he still generally responds almost immediately. Fantastic plugin and fantastic developer!

Read all 119 reviews

Contributors & Developers

“Broadcast” is open source software. The following people have contributed to this plugin.

Contributors

“Broadcast” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Broadcast” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

43.10 20181018

  • Fix: Ignore invalid taxonomies during the get_current_blog_taxonomy_terms() function.
  • Fix: Escape when saving child custom fields. Fixes JSON objects breaking on child posts. More specifically: prevents Cornerstone Page Builder data from breaking.
  • Tweak: Default value for “keep attachments” for new installs is “yes”. It’s a good setting to enable.
  • New add-on. Simple Custom Post Order adds support for the Simple Custom Post Order plugin.

43.9 20180922

  • Fix: Existing attachments are to be counted as copied attachments. Improves URL and ID translation of existing images in the post content.
  • New: Also parse post title and excerpt, giving actions and add-ons a change to modify those post fields during broadcasting.
  • New add-on. Custom Field Posts: Allow post custom field containing post IDs to be broadcasted correctly.
  • New add-on. Formidable Forms: Adds support for the Formidable plugin.
  • New add-on. Unlink On Edit: Unlinks child posts when they are modified.
  • Dev: Add broadcast_override_canonical_url filter.
  • Dev: Add siteurl to broadcast_data blog object.

43.8 20180821

  • New: “Keep Attachments” option added. This prevents the automatic housekeeping Broadcast does when broadcasting: normally all the attachments of a child post are deleted and then the new attachments are recopied. This prevents the automatic deletion.
  • Dev: override_child_permalink action now has $child_post property.
  • New add-on. User Access Manager: Adds support for the User Access Manager plugin.

43.7 20180724

  • Fix: Store attachment data for each blog separately. This is to prevent attachment ID conflicts when using the Queue add-on.
  • New: Display blog ID in meta box when hovering over the blog’s name.
  • New add-on. UberMenu: Adds support for the UberMenu menu plugin.

43.6 20180625

  • Fix: Hide broadcast box when user does not have correct role.
  • Fix: Workaround added for plugins that misbehave, hiding the Broadcast meta box when editing pages, even though the user has Broadcast access.
  • Fix: Even better modifying of image caption shortcodes.
  • SDK update to fix static calls on object stores.

43.5 20180530

  • Fix: Better replacement of attachment ID in caption shortcodes.
  • Fix: Plugin list link to Broadcast settings.
    New add-on: CM Tooltip Glossary: Adds support for the CM Tooltip Glossary plugin.
    New add-on: Copy options: Copies blog options / settings between blogs.

43.4 20180505

  • New: Add ThreeWP_Broadcast_debug_text filter to allow for modification of debug text.
  • Fix: Fix HTML tables not working due to _() function conflict on some very specific installs.

43.3 20180413

43.2 20180403

43 20180226

42.4 20180129

  • New: Option to show all sites on a multinetwork setup, instead of defaulting to just the sites on the current network.
  • Fix: Do not broadcast non-existent posts using the API.
  • Fix: Speed up post editing when user has access to a large amount of blogs by caching the blog names. Best used in conjunction with the All-Blogs add-ons.
  • Fix: Adding Tracking Code Manager plugin to list of incompatible plugins.
  • New add-on. H5P: Adds support for the H5P Interactive Content plugin.

42.3 20180115

  • Fix: Also sync term_order setting when syncing terms.
  • Fix: Do not overwrite attachment’s _wp_attached_file property, which otherwise would prevent the attachment from being seen. Sometimes.

42.2 20171213

  • Fix: GMT dates on draft posts were being incorrectly set from 0000-00-00 (a very invalid date in itself, btw).
  • New add-on. GoodLayers: Adds support for the GoodLayers family of themes.

42.1 20171130

  • Fix fatal error for PHP v5.6 installs.

42 20171130