Support » Themes and Templates » How Do I Disable Categories?

  • I really do not have any need for categories, and I don’t like the look of having “Uncategorized” under all of my posts. Do you know how to completely get rid of categories from my blog?

    I am using a twenty ten child theme. If there is any code you know of that needs to be edited or removed, I can do that.

    Thanks for your help!

Viewing 1 replies (of 1 total)
  • Moderator t-p


    I believe there is no way at all to remove the uncategorized category from a wordpress w/o extensive hack.

    The uncategorized category is a placeholder for a post not having any category. You can’t even delete that category to not have any categories.

    Although you can’t disable categories altogether, but you may prevent WP from displaying them:

    •In Admin, in the post editor screen within the Admin interface, use screen options (located in the upper right corner) to hide the category picker.

    •In your theme, remove category-related lines.

    This won’t, technically, disable everything category-related from showing, but you and end users won’t notice them.

    Alternately,place this code in your theme’s functions.php, see if it does the trick (not tested):

    add_action( 'add_meta_boxes', 'hide_categories_metabox' );function hide_categories_metabox() { remove_meta_box('categorydiv','post','side');}

Viewing 1 replies (of 1 total)
  • The topic ‘How Do I Disable Categories?’ is closed to new replies.