I have posted the answer on stackoverflow site and pasting the same here;
Try doing by javascript. (I use jquery).
` jQuery(document).ready(function($){‘use strict’;
if ($(‘.post-type-customposttype’).length) { //if we are on custom type page change the customposttype with yours slug
$(‘.taxonomy-checklist’).prev().prev().hide(); // to hide title. taxonomy is the your custom taxonomy’s slug.
$(‘.taxonomy-checklist’).hide(); //to hide box
} });`
add this code to a js file (lets say *customadmin.js* and assume its in the *js* folder that is in the *theme folder*) and enqueue the file on admin side:
`if(!function_exists(‘addstyle_to_admin’)):
function addstyle_to_admin() {
if(is_admin()){
wp_enqueue_script(‘myadminpanelscript’,get_template_directory_uri() . ‘/js/customadmin.js’,array(‘jquery’),false,false);
}
}
add_action(‘admin_enqueue_scripts’,’addstyle_to_admin’);
endif;`