Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @ corpcasting

    There’s no way to completely remove the feature, the best that can be done is limit the accessibility.

    Go to the Connections : Roles admin page and remove the “Edit Categories” capability from every rolor. It can not be removed from the Admin role.

    Install the Code Snippets plugin.

    Add a new snippet with the following code:

    add_action( 'admin_menu', 'cn_remove_category_admin_menu', 9999 );
    function cn_remove_category_admin_menu() {
      remove_submenu_page( 'connections_dashboard', 'connections_categories' );
    }
    
    add_action( 'cn_metabox', 'cn_remove_category_metabox', 9999 );
    function cn_remove_category_metabox() {
      cnMetaboxAPI::remove( 'categorydiv' );
    }

    Save and activate the new code snippet.

    Every entry would still be assigned to the “Uncategorized” category but since you would not be using categories, that really wouldn’t matter anyway.

    Hope that helps, let me know.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    I posted a QuickTip to the blog which is a little more thorough… I hope

    Thread Starter corpcasting

    (@corpcasting)

    Thank you. I will take a look.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide categories altogether’ is closed to new replies.