Linking

Broadcast’s most important feature, and its main advantage over RSS syndication, is its ability to link posts to each other. When linking is enabled all posts are updated with the same data, without requiring the same, repetitive manual editing.

Post edit meta box

Broadcast uses a parent / child paradigm: when a post is broadcasted – and linked – it becomes a parent post to one or more child posts. Each parent can have one child post per blog.

If you broadcast a post without linking it will just create a duplicate post on each selected blog. If you republish the post without linking it will create another duplicate.

Posts can be unlinked from each other using the bulk actions in the post overview.

The bulk actions

If your page is under another page, and you wish to keep the same hierarchy on the child blog, ensure that the parent page is broadcasted before broadcasting the current page. Broadcast will see that the parent page has a child page on the child blog and place the broadcasted page in its correct place.

Notes

If you notice that posts are only linked in one direction, for example a parent links to a child but the child doesn’t link back, it might be a good idea to run a broadcast data maintenance check. See the admin settings menu, maintenance tab. Don’t forget to backup your database in case something goes wrong.

The linking data is stored in a separate database table that ends with broadcast_broadcastdata.

 

Comments

  1. Is it possible to default the “link post to its children” setting to disabled?
  2. Is it not possible to broadcast a page underneath a non-broadcasted page?
    E.g.:
    /uk/services/service1/
    /de/services/service1/
    -> both are independent pages because they are in 2 different languages

    now i want to broadcast
    /uk/services/service1/tech-specs/
    to
    /de/services/service1/tech-specs/
    because I hope my German clients understand english tech specs

    1. Nope. There is no way for broadcast to know where to put the page if the parent page is not broadcasted.

      What you can do, I suppose, is to first broadcast the page, put it under the correct parent, and then when updating the page use the protect parent property of the protect child properties add-on.

      I think that’s as close to a solution as I can get you, if you don’t want to write any custom code yourself. :)

  3. Thank you very much, Edward, this “workaround” works just fine for me! :-)
  4. I’m trying to sync a page down to multiple sites and all properties are persisted except the “Parent”. So if I have a post with the url “mysite.com/parent-page/child-page”, and I broadcast child-page to othersite.com then the resulting url on the child is ‘othersite.com/child-page’. Is there a way to keep the structure when broadcasting to othersite (othersite.com/parent-page/child-page)?
    1. Is the parent page broadcasted to the child? The structure should be retained automatically if that is the case.

    2. Yea it’s a broadcasted page, but not linked… not sure if that matters. I also tried broadcasting the parent-page and child-page at the same time. Same result.
    3. It must be linked. Instead of rebroadcasting (and therefore causing dupes due to the existing, unlinked pages), try running the “find unlinked children” bulk post action on the parent blog.

      Then rebroadcas the child and you should find that the structure is kept.

    4. OMG it worked! You sir are great. Been working on that about 4 hours. Wish I would have asked you sooner. It’s a project that’s been handed down to me, so I’m just getting used to the plugin. So far it’s great, just have to learn my way around a bit. Many thanks for saving my day!
  5. Hi! The plugin looks great, but I have one question.

    If I broadcast a page or CPT from the top level site in WPMS (i.e blog ID 1) to a sub site, what does the broadcasted page look like in the sub site? The reason I ask is that I’d like to “lock” the content so that users cannot edit the page’s content on the subsite, they should only edit the bradcasted page on the top level site to avoid a mess of content.

  6. Hello,
    in my multisite structure I have some http sites and some https ones.
    If I broadcast an article from a http site to a https one the backlink in https site is https too and it obviously gives certificate error,
    1. This is a weird combination I have not tried myself. Any links created are handled by WordPress itself. Broadcast doesn’t try to guess whether the site is http or https.

      If you broadcast the other way, are the links also wrong there?

  7. if I broadcast from https the link in the destination site http is http but it get then redirected by the htaccess rule.
    In practice all links in http sites keep the http in the url and all links in https sites keep the https in the url, it seem to take the protocol url from the site where it is.
    1. Yeah, sounds like you have a conflict between http / https / htaccess / WordPress. The easiest thing to do would just be to switch everything to https and be done with it. LetsEncrypt certificates are free nowadays. luckily.

    1. Yes. That’s the default value when the plugin is installed.

  8. I have hundreds of custom post type pages to broadcast and link. It seems I can only open one at a time to accomplish this. Is it possible to use batch processes to link multiple pages at a time to other sites? (like you can unlink)
    1. If you want to broadcast (and optionally link) hundreds of posts at a time, there’s an add-on for that: Send To Many. Best used together with the Queue.

  9. This is AMAZING. I is have question.

    Okay … so I have a publishing site which has multiple sites for Authors.

    I have an Authortemplate site which I use to clone new Author’s sites.

    I also have an ‘Authorhelp’ site (previous to discovering the Broadcast plugin) where I plan to add in all sorts of examples of how to write and present our content in the genre of the publishing platform.

    The prime difference here is that Authorhelp is a help site that i’m making separate from the main site whilst Authortemplate is the basic template.

    Now …. in testing Broadcast, I linked a post from ‘Authorhelp’ to ‘Authortemplate’ and it worked perfectly for linking and updating.

    Yet, when cloning Author Template to a new site, it did not include the new site in the linking, which makes sense.

    I’m wondering if there’s a way to do that. For the parameters of the linking to automatically copy over to the site created by Authortemplate.

    This way, I could adjust things on ‘Authorhelp’ which would link to ‘Authortemplate’ and then to whatever new sites created by cloning authortemplate.

    Alternatively, since we have a limited number of Authors at this point, I could just link from Authorhelp (or Authortemplate) to those sites as they appear, yet i’m wondering if there can be a more automated thing.

    BTW – again, this is an AMAZING plugin. I’m looking forward to experimenting with it more and definitely putting it on the *Must have* list for Pro versions (we’re just opening the gates of our publishing platform which is, if I say so myself (and I am :) ) like nothing that’s been seen on the internet today, teaching the mystic arts through the power of Story :)

    1. Yet, when cloning Author Template to a new site, it did not include the new site in the linking, which makes sense.

      How are you cloning the sites? If using NS Cloner, there’s a Broadcast add-on for NS Cloner that automatically (re)links the posts on the new site to existing posts.

      Alternatively, there’s the Broadcast Bulk Cloner add-on that does the same thing, but is made especially for use with Broadcast.

  10. Hi,

    First, thanks you for your job and your plugin, it earns me a lot of time !

    I would like to know if it is possible to perform a request (get_posts) filtering only the parent post ?

    Kind regards

    Pierre

    1. This is currently not supported since nothing on the parent post signifies that it is (1) broadcasted or (2) a parent post. I’m not sure how one would extend get_posts to only include parents. Perhaps a custom field value?

    2. Hi Edward,
      Ok, thanks for your fast response.
      I saw that there is another table just for the plugin, a custom field would be a kind of duplicate data with this table.
      I was thinking about using this table but I don’t understant the “data” value.
      I’ll check your code to see if I can manage to do what I need.
      Thanks again.
  11. I am getting this message: The broadcast data table is missing the ID column. It should now have been created. Please rerun the test. If the test fails, then something is wrong with the database.

    Its not adding it in. What Can I do?

    1. It sounds like an sql permissions problem, since WordPress should be able to alter tables as much as it wants. Ask your sysadmin to have a look at the sql permissions?

      I don’t suppose you have phpmyadmin access to the database? In that case I could send you SQL instructions to create the ID table.

  12. I am using WordPress Bitnami on AWS. Yes I have phpmyadmin access to it.
    1. Please export your _3wp_broadcast_broadcastdata table and then e-mail me the file. I’ll send you an updated version of the SQL you can import.

  13. Hi Edward,

    I’ve recently adopted Broadcast for the website of the company I work for, I’ve noticed that the canonicals reference the parent page even if a user sets a specific value using Yoast. Is there a way to prevent the canonicals from always referencing the parent page? Our team wants the canonicals from the child pages to reference themselves after broadcasting.

    1. There’s a setting that disables canonicals: Admin > Broadcast > Settings tab > SEO subtab > Use parent permalink

  14. Hello! I’ve gotten a lot of value from the Broadcast plug-in, so thank you.

    Now I’m wondering, can any kind of page or post be broadcasted, including a custom post?

    1. Yepp. Just add the custom post type to your admin > Broadcast > Settings > Custom post types setting.

  15. Just making sure I understand. I have a parent post which is linked and broadcasted to another site. If I make changes to the parent it changes the broadcasted post content without a problem. But if I make changes to it on the broadcasted site and update that does not push that change back to the parent . Is that how this works. Is there a way to sync it back and forth?

Leave a Reply to GMACWEB Cancel reply

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