Redirect All Children

This add-on for Broadcast redirects visitors of child posts directly to the parent post.

Therefore, the following requirements must be met:

  • The visitor must be viewing a single post
  • The post must be a broadcasted child

Notes

For developers, if you wish to control which posts are redirected, use this filter which is called before the redirection takes place:

apply_filters( 'broadcast_redirect_child', true, $child_blog_id, $child_post_id, $parent_blog_id, $parent_post_id );

This is similar to the Redirect Parent add-on, except the other way. Using both the add-ons at the same time will create an endless loop.

Where to buy

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

Comments

  1. Hi there,

    If I’m not mistaken, the user will be redirected to the parent post after clicking the title of the child post. How about if a user clicks the category of the child post (which is actually inherited form the parent post) will that also take the user to the category page of the parent post’s site?

    Thanks,
    Dennis

    1. It will not, no. Taxonomies are not broadcast in the same was as posts (there is no linking data between them).

  2. Edward

    So as a site admin, I want a post first published by a child blog to appear on the main site, but when clicked, have the user taken to the child blog where it was first published.

    This will enable it, correct?

    1. Sounds correct, yes. As long as the posts are linked together, it will redirect visitors from the main site to the child blog.

Leave a Reply

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