カスタムアドミン カテゴリ部分 お客のやつ 親カテゴリとか出さない

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*新規カテゴリを作らせない*/
body.post-type-post #category-add-toggle,
body.post-type-shop #shop_cat-add-toggle{ display:none;}
 
 
/*親カテゴリ選択させない*/
#newgallery1_cat_parent,
#newmaintenance_cat_parent{ display:none;}
 
/*カテゴリ作成ページで親とかスラッグを消す タググラウドも
 #addtagを入れると編集ページは表示される*/
 
/*body.edit-tags-php #addtag .term-parent-wrap,*/
body.edit-tags-php .term-parent-wrap,
body.edit-tags-php .term-slug-wrap,
body.edit-tags-php .term-description-wrap,
body.edit-tags-php .tagcloud
{display:none;}