To hide columns in a Custom Post Type screen, you need the filter manage_{$this->screen->id}_columns.
add_filter( 'manage_edit-sp_product_columns', 'hide_cpt_columns_so_14257172' );
function hide_cpt_columns_so_14257172( $columns )
{
// Change categories for your custom taxonomy
unset($columns['categories']);
return $columns;
}
To add custom CSS/Javascript in a specific screen, you can use the action admin_head-$hook_suffix. The following code hides the Show all dates, View all categories and Filter elements:
add_action( 'admin_head-edit.php', 'custom_css_js_so_14257172' );
function custom_css_js_so_14257172()
{
// Apply only in the correct CPT, otherwise it would print in Pages/Posts
global $current_screen;
if( 'sp_product' != $current_screen->post_type)
return;
?>
<style>
select[name="m"] { display:none }
select[id="cat"] { display:none }
#post-query-submit { display:none }
</style>
<?php
}
manage_edit-CPT_columnsandunset($columns['CUSTOM-TAXONOMY']), have you tried it? ::: Can you clarify this: "add some css/js when it will show in column and top select menu", I don't understand even with the screenshot...