Support » Plugin: Adminimize » [Plugin: Adminimize] Hide Particular categories

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Frank Bueltge


    no, not with this plugin.
    But you can create an custom plugin for filter the categories.


    function fb_list_terms_exclusions($args) {
    	global $pagenow, $post_type;
    	$where = '';
    	// filter only for frontend
    	if ( !is_admin() ) {
    		$where = " AND t.slug  NOT IN ('uncategorized', 'category-2')"; // slug of categories
    	// backend, only on post-type post
    	if (
    		'post' == $post_type &&
    		is_admin() &&
    	) {
    		$where = " AND t.slug  NOT IN ('slider')"; // slug of category
    	return $where;
    add_filter( 'list_terms_exclusions', 'fb_list_terms_exclusions' );

    thanks a lot frank, bt i have done this with using Adminimize plugin only……ex. i have four categories cat-1, cat-2, cat-3 & cat-4 and i want to hide cat-1, cat-2, i got categories ids using firebug and put it in ….”Your own post options ID or class” adminimize plugin field
    like #category-1, #category-2 and checked that value in column…then updated options….this worked for me…

    Plugin Author Frank Bueltge


    yes, this also possible; but it hide it only via CSS.
    Its not an filter for hide hard with PHP.
    But its fine, that you use this enhancement of my plugin.

    yes, it’s thru css, bt very good functionality. gr8 plugin. thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Adminimize] Hide Particular categories’ is closed to new replies.