02/11/2016 at 9:02 am
#364690
Keymaster
@ Garret
Does the category selection metabox still actually display when the user edits their entry on the frontend with Form? I ask, because, that setting for Form will not have any effect of the Link admin profile page. If it is the Link admin page you are asking about, then a different approach will be necessary. The first option would be to remove the adminbar and prevent access to the admin. There’s many plugins out there to do this. If you want admin access then the only way forward is this:
Install the Code Snippet plugin.
Add a new Snippet with the following code:
function cn_category_metabox() {
remove_meta_box( 'categorydiv', 'users_page_connections_link', 'side' );
}
add_action( 'load-users_page_connections_link', 'cn_category_metabox' );
Select the option to run only in the admin.
Save and Activate the snippet.
Hope that helps, let me know.
