Skip to main content
Changed title to be more descriptive. Added admin URL reference to make clear what screen is in question. Related content modifications. Added tags.
Source Link
brasofilo
  • 22.1k
  • 8
  • 69
  • 264

Remove "Parent" Drop Down menu inSelection When Adding/Editing Categories Submenu?

I've been trying to find a way to hide/deactivate the Parent Drop Down Menudropdown menu from the Posts -> Categories submenu in a Post Type menuscreen.
http://example.com/wp-admin/edit-tags.php?taxonomy=category

I was able to hide the "Slug" option through this function here:

// Admin - Global Terms Enabled
function disable_global_terms($enablefalse) {
   return 1;
}
add_filter( 'global_terms_enabled', 'disable_global_terms' );

Is there a way I can do the same for the Parent Drop Down menu w/owithout deleting that code from the main WP files so I would have to do this each time w/with each update?

Thanks! Roc.

Edit for clarification: Menu: Post Type -> SubMenu: Categories (Add New, Slug, Parent, Description) Is it possible to remove the "Parent" drop down menu?

Remove "Parent" Drop Down menu in Categories Submenu?

I've been trying to find a way to hide/deactivate the Parent Drop Down Menu from the Categories submenu in a Post Type menu. I was able to hide the "Slug" option through this function here:

// Admin - Global Terms Enabled
function disable_global_terms($enablefalse) {
   return 1;
}
add_filter( 'global_terms_enabled', 'disable_global_terms' );

Is there a way I can do the same for the Parent Drop Down menu w/o deleting that code from the main WP files so I would have to do this each time w/ each update?

Thanks! Roc.

Edit for clarification: Menu: Post Type -> SubMenu: Categories (Add New, Slug, Parent, Description) Is it possible to remove the "Parent" drop down menu?

Remove "Parent" Selection When Adding/Editing Categories?

I've been trying to find a way to hide/deactivate the Parent dropdown menu from the Posts -> Categories screen.
http://example.com/wp-admin/edit-tags.php?taxonomy=category

I was able to hide the "Slug" option through this function here:

// Admin - Global Terms Enabled
function disable_global_terms($enablefalse) {
   return 1;
}
add_filter( 'global_terms_enabled', 'disable_global_terms' );

Is there a way I can do the same for the Parent Drop Down menu without deleting that code from the main WP files so I would have to do this each time with each update?

added 181 characters in body
Source Link
Roc
  • 21
  • 1
  • 3

I've been trying to find a way to hide/deactivate the Parent Drop Down Menu from the Categories submenu in a Post Type menu. I alsowas able to hide the "Slug" option through this function here:

// Admin - Global Terms Enabled
function disable_global_terms($enablefalse) {
   return 1;
}
add_filter( 'global_terms_enabled', 'disable_global_terms' );

Is there a way toI can do the same for the Parent Drop Down menu w/o deleting that code from the main WP files so I would have to do this each time w/ each update?

Thanks! Roc.

Edit for clarification: Menu: Post Type -> SubMenu: Categories (Add New, Slug, Parent, Description) Is it possible to remove the "Parent" drop down menu?

I've been trying to find a way to hide/deactivate the Parent Drop Down Menu from the Categories submenu. I also able to hide the "Slug" option through this function here:

// Admin - Global Terms Enabled
function disable_global_terms($enablefalse) {
   return 1;
}
add_filter( 'global_terms_enabled', 'disable_global_terms' );

Is there a way to do the same for the Parent Drop Down menu w/o deleting that code from the main WP files so I would have to do this each time w/ each update?

Thanks! Roc.

I've been trying to find a way to hide/deactivate the Parent Drop Down Menu from the Categories submenu in a Post Type menu. I was able to hide the "Slug" option through this function here:

// Admin - Global Terms Enabled
function disable_global_terms($enablefalse) {
   return 1;
}
add_filter( 'global_terms_enabled', 'disable_global_terms' );

Is there a way I can do the same for the Parent Drop Down menu w/o deleting that code from the main WP files so I would have to do this each time w/ each update?

Thanks! Roc.

Edit for clarification: Menu: Post Type -> SubMenu: Categories (Add New, Slug, Parent, Description) Is it possible to remove the "Parent" drop down menu?

Source Link
Roc
  • 21
  • 1
  • 3

Remove "Parent" Drop Down menu in Categories Submenu?

I've been trying to find a way to hide/deactivate the Parent Drop Down Menu from the Categories submenu. I also able to hide the "Slug" option through this function here:

// Admin - Global Terms Enabled
function disable_global_terms($enablefalse) {
   return 1;
}
add_filter( 'global_terms_enabled', 'disable_global_terms' );

Is there a way to do the same for the Parent Drop Down menu w/o deleting that code from the main WP files so I would have to do this each time w/ each update?

Thanks! Roc.