@ Rick
It is possible that the theme is loading its custom CSS before Form loads it’s CSS. I would need a link to that page to know for sure and to determine why the CSS does not work. Maybe try added the !important clause:
div#cn-metabox-section-organization,
div#cn-metabox-section-department {
display: none !important;
}
You are using the latest version of Form, yes? That would be another reason the CSS would not work.
I do not recommend removing it in PHP because then after any updates you’ll have to redo the change. But if you want to you need to remove those fields from the array in the connections_form.php file starting on line 1428.
Here’s the filter that will set every entry to private whenever an entry is added/updated regardless of what the setting is:
Install the Code Snippets plugin.
Add a new snippet with the following code:
function cn_force_private( $entry ) {
$entry->setVisibility( 'private' );
return $entry;
}
add_filter( 'cn_pre_process_add-entry', 'cn_force_private' );
add_filter( 'cn_pre_process_update-entry', 'cn_force_private' );
Save and activate the new snippet.
Hope that helps!
