Custom fields

When asked to do so, Broadcast will copy the custom fields of the post to the children. According to the WordPress Codex on custom fields, they are used to store meta-data about the post.

Normally all fields can be broadcasted without problems, but depending on which plugins are installed or your post workflow, you might want to handle some fields differently.

In the admin settings, Broadcast offers a custom field blacklist, a whitelist and a protect list. In these fields you can specify which fields you do not want broadcasted. If you do not want the fictional custom field post_coauthor broadcast, just write its name in the blacklist, for example.

Custom field broadcast settings

The fields also take wildcards: the fictional field above will be matched if you write *coauthor or post_co*.

The blacklist will prevent the specified fields from being broadcasted.

The whitelist acts as exceptions to the blacklist.

The protect list will broadcast custom fields to the child posts only if the field does not already exist on the child. It does not update existing custom fields. This requires that the child post already exists.

 

Comments

  1. I used the custom field name startwith ‘*appearance’ in blacklist. But, it is not work for me. What can i do? Please help me
    1. You’re going to have to show me a debug dump of the post in question in order for me to see what is going on.

  2. When I try to broadcast my product list, the image from the category product didn’t update to the child site. For the additional info, the “Link this post to its children”, “Custom fields”, and “Taxonomies” have been checked before I published the product

Leave a Reply

Your email address will not be published.