07/08/2016 at 2:08 pm
#382046
Keymaster
@ William
This can be done by using a filter.
Install the Code Snippets plugin and add a new snippet with the following code.
function cn_default_entry_type( $atts ) {
$atts['default']['type'] = 'organization';
$atts['default']['visibility'] = 'private';
return $atts;
}
add_filter( 'cn_metabox_publish_atts', 'cn_default_entry_type', 11 );
This snippet would change the default entry type to an Organization with a visibility default of Private. To default to a family, you would change organization to family in the code. The valid options for Visibility are public, private or unlisted. This will only affect the entry level visibility, not the data level (ie. address, phone and such).
Hope that helps!
