@ Len
The change was made for performance reason and to simplify the UI based on the action. This can be reverted. Here’s how…
Install the Code Snippets plugin:
https://wordpress.org/plugins/code-snippets/
Add a new snippet.
Add the following code to the new snippet:
add_filter( 'cn_metabox_name_atts', 'cn_name_metabox' );
add_filter( 'cn_metabox_publish_atts', 'cn_publish_metabox' );
function cn_name_metabox( $atts ) {
$atts['type'] = array( 'individual', 'organization', 'family');
return $atts;
}
function cn_publish_metabox( $atts ) {
if ( isset( $_GET['cn-action'] ) && $_GET['cn-action'] == 'copy_entry' ) {
unset( $_GET['cn-action'] );
$atts['action'] = NULL;
}
return $atts;
}
Save and activate the new snippet.
Families could never be assigned to an org, officially, but since it is not enforced, you could toggle to entry type so the fields is visible and add the org.
There is one more issue with using the snippet when editing an entry, all the name fields will show and not toggle based on entry type since the entry type selector is not available. There might be other “gotchas” so use with care.
I’ll add to my issue log to allow the user to change the entry type when copying an entry.
I hope that helps!
