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 is great for:
- Chain stores
- Content hubs
- Franchises
- News sites
- Schools
- Anything else with distributed content!
[vimeo
https://vimeo.com/229186032]
Here are some use cases for Broadcast:
Broadcast
- Posts, pages, custom post types
- Taxonomies (categories, tags, etc)
- 自定义字段
- Attached images
- 特色图像
- 画廊
- 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:
If you don't see your plugin in this list, it
might not need a specialized add-on.
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.
- Custom Field Terms allows post custom field containing taxonomy term IDs to be broadcasted correctly.
- Delete Before Broadcast deletes duplicate and similar child posts on each blog before broadcasting.
- Gutenberg Attachments: Modify attachment IDs found in Gutenberg blocks to match their equivalent attachments on each blog.
- Gutenberg Menus: Modify menu IDs found in Gutenberg blocks to match their equivalent attachments on each blog.
- Gutenberg Posts: Modify post IDs found in Gutenberg blocks to match their equivalent attachments on each blog.
- Gutenberg Protect: Protects specific Gutenberg blocks from being overwritten during broadcasting.
- Gutenberg Terms: Modify taxonomy term IDs found in Gutenberg blocks to match their equivalent attachments on each blog.
- 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.
- Link Before Broadcast attempts to find unlinked children on each child blog during broadcast.
- 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.
- Parent Pull allows content to be pulled from (parent) 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.
- Rebroadcaster: Periodically and automatically rebroadcast specific posts.
- <a href="https://broadcast.plainviewplugins.com/addon/rebroadcast-parent-here/"Rebroadcast Parent Here: Rebroadcast the parent to this linked child.
- 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.
- Relink To Parent: Relink an unlinked child to the parent.
- Same post ID: Create a new post on several blogs with the same post ID.
- 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.
- Term Meta Attachments: Allow taxonomy term meta containing attachment IDs to be broadcasted correctly.
- 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.
- Update Family updates the parent post and siblings when editing a child post.
- 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.
- Blog Search: Search and filter the blog list in the editor 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.
- Rebroadcaster: Periodically and automatically rebroadcast specific posts.
- 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.
- : Run code snippets on specific blogs.
- Copy options copies blog options / settings between blogs.
- : Runs WordPress cron periodically on all sites of the network.
- Custom Field Cleanup: Cleans up the custom fields of a post.
- Lock Post allows users to lock editing of posts / pages to only themselves and super admins.
- Manual Post Actions manually runs bulk post actions on posts.
- 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.
程序文档
Although Broadcast is relatively easy to understand by itself, for extra documentation see
Broadcast's online documentation, which covers:
Here are instructions for
merging existing single installs into a Wordpress network.
For developers: the code should be well-commented and easily legible for the most part. Extra developer documentation covers:
杂项
The git repository can be found at:
https://bitbucket.org/edward_electric/broadcast
- 51.01 20241116 =
- Dev: Improve taxonomies()->also_sync() function.
- More PHP 8.2 warning fixes.
- 50.15 20241012 =
- Fix: Remove warning from Equivalent_Posts debug code that warns of an equivalent post not existing.
- Tweak: Workaround define BROADCAST_PP_SSL_WORKAROUND removed since Wordpress no longer allows https transport workarounds.
50.14 20240824
- New add-on:Bricks Builder: Adds support for the Bricks Builder page editor.
- Fix: In the "Database table cleanup" maintenance tool, ignore base tables that contain numbers in their names.
- Dev: Add get_attachment_id_from_url() function to help find image IDs based on URL.
50.13 20240711
- Fix error when using the finding unlinked children bulk post action. Also effected the Link Before Broadcast add-on.
50.12 20240706
- Fix error 500 when broadcasting. The error was a variable in the broadcasting data that was not being set.
50.11 20240706
- Fix looping when broadcasting a related post that has just been broadcasted.
- Fix: Added WP Activity Log to the list of incompatible plugins.
- Dev: Fixed lots of PHP 8.2 warnings.
- Dev: Add option in Gutenberg parse_blocks code to dump block content once. Prevents several add-ons from all dumping the same blocks.
50.09 20240506
- New: Add database table cleanup maintenance tool, to remove orphaned tables from deleted sites.
- Dev: Add $bcd->taxonomies()->forget_term_id() function to remove all traces of a term in the broadcasting_data.
50.08 20240403
- Output more debug information regarding attachments.
- Update Tested with version
50.07 20240210
- Update SDK
- Update Tested with
50.06 20231108
- Fix: Added Cloudflare Image Resizing plugin to the list of incompatible plugins.
- Tweak: Don't show "Preparsing" debug text if there are more than 5 terms in the taxonomy.
- Dev: Add get_user_writable_blogs::remove_access() method.
50.05 20230918
- Fix: Fix error message when clicking on things in the broadcasted column. The problem was a double nonce - one form nonce is enough.
50.04 20230913
- Fix: Remove "attachment" as a broadcastable post type in the settings. Attachments can only really be broadcasted by being used in posts.
- Tweak: Tested with 6.3
- Tweak: Added hook priority info in info table.
50.01 20230407
New add-on:
Same post ID: Create a new post on several blogs with the same post ID.
- Code: SDK update for PHP 8.2 compatibility.
50 20230407
New add-on:
Skip If Unlinked: Do not broadcast to blogs that have an existing, unlinked post.
- Code: Add API support for finding equivalent image IDs on blogs. See the api() get_equivalent_image_id() and get_equivalent_image_ids() functions./
49.07 20230325
- Code: SDK update for PHP 8.1 compatibility. No other changes.
49.06 20230303
- New: Custom post type inclusion and exclusion lists added. Thanks to @jblifestyles from @hivedigital.
- Code: Add Gutenberg helper functions.
49.05 20230210
- Code: find_unlinked_children post action now accepts a list of blogs to link to. Affects the API and the Bulk CLoner and Find Some Unlinked Children add-ons.
49.04 20230127
- New add-on: Search Exclude: Adds support for the Search Exclude plugin.
- Fix: Featured image (_thumbnail_id) handler now obeys custom field protect list, allowing the featured image to be protected.
- Fix: Fix javascript path for Windows installs.
49.02 20230104
- Fix: Fix javascript for post actions.
- Code: Mark parent terms as used also, so that they get synced (and allow add-ons to handle the terms also).
- Code: More php 8.1 fixed
49.01 20221225
- Code: Add broadcast_menu_target filter to allow the displayed menu override: all settings, broadcast info or no menu at all.
48.15 20221031
- Code: Broadcast now requires at least php 7.4
- Code: Increase compatibility with php 8.1.
48.15 20221031
- Version bump for WP 6.1
- Fix: Allow for PHP 7.2 again. I just needed to remove a comma in the code.
48.14 20221008
- Fix: During maybe_sync_taxonomy(), mark the taxonomy as synced as soon as possible. This is to prevent looping in add-ons such as ACF, where taxonomies can be referred to by other taxonomies.
- Fix: When trashing parent and child posts, avoid doing the work double.
- New add-on: Blog Search: Search and filter the blog list in the editor meta box.
- New add-on: JetEngine: Adds support for JetEngine custom post types.
- New add-on: <a href="https://broadcast.plainviewplugins.com/addon/rebroadcast-parent-here/"Rebroadcast Parent Here: Rebroadcast the parent to this linked child.
- New add-on: Relink To Parent: Relink an unlinked child to the parent.
- Code: Add trash_untrash_delete_post action.
- Code: Link the post directly after creating it, instead of waiting until all attachments and taxonomies are synced.
48.12 20220727
- Dev: Add helper methods to prepare_meta_box action.
48.11 20220525
48.09 20220418
- Fix: Exception when being activated on single installs.
48.07 20220226
- Fix: Prevent Wordpress from removing iframe tags in the post content.
- Fix: Prevent Broadcast from being activated on single installs. Fixed the activate() on null error.
48.06 20220129
- Tweak: Compatible with WP 5.9
- Fix: Increase compatibility with PHP 8.1 by renaming the SDK's form class "readonly" trait.
48.05 20220106
Happy new year!
- Fix: Mark taxonomies as synced earlier, preventing an infinite loop when a taxonomy has ACF fields that refer back to itself.
- Fix: Execute the each_linked_post action on the parent post itself when called from the parent post.
48.04 20211118
- Fix: Correctly detect true/false term meta values when trying to protect them.
- Fix: Remove warning about the Term Index get() function not matching.
- Code: Add canonical_url action to allow for more flexible canonical URL handling.
48.03 20211112
- Fix: Selected taxonomy terms lost their parents if the parents weren't also selected.
48.02 20211110
- Fix: Add extra compatibility with PHP 7.2 (which has not been supported for a year, btw). Please upgrade!
48.01 20211105
- New add-on: Code Snippets: Run code snippets on specific blogs.
- New add-on: Cron Everywhere: Runs WordPress cron periodically on all sites of the network.
- New add-on: Rebroadcaster: Periodically and automatically rebroadcast specific posts.
- Tweak: Only used taxonomies are synced now. This prevents the child from receiving all of the taxonomies of the parent when extra taxonomies are synced via the Custom field / Gutenberg / Shortcode Terms add-ons, for example. Anything that uses taxonomies()->also_sync().
- Code: Add equivalent_posts() sharing, so that subbroadcasts have access to the same equivalent_posts().
- Code: Add broadcasting_data->equivalent_posts()->broadcast_once() method to broadcast a post once and then use the existing child ID.