Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Hide specific categories in wp backend? WordPress


Is there a way to hide specific categories in wp backend (dashboard).

Answers (4)


Navjot Singh answers:

You can try this plugin -

or use the solution mentioned here


S├ębastien | French WordpressDesigner answers:

paste in functions.php

function hide_category() {
jQuery(document).ready(function($) {

$(".categorychecklist #category-7").hide();/*7 is the category id*/
$(".categorychecklist #category-8").hide();/*8 is the category id*/

<?php }

add_filter('admin_head', 'hide_category');

replace 7 and 8 by id of each category you want to hide.


Sabby Sam answers:

Hey there,
You could try this plugin ( )
I have tried several times in my website. Its work great, have a look into the category.


Dbranes answers:

Here's a simple snippet:

is_admin() && add_filter( 'get_terms_args', function( $args, $taxonomy ){

if( 'category' === array_shift( $taxonomy ) ){
$exclude = array( 12, 34 );
$args['exclude'] = $exclude;
return $args;
}, 99, 2 );

just edit the <em>$exclude</em> category to your needs (category id's to excluce).