Панель мониторинга WordPress: размер столбцов после добавления пользовательских таксономий

#php #css #wordpress

Вопрос:

Как видно на скриншоте ниже, мои столбцы на панели администратора не упакованы и слишком малы, чтобы соответствовать всем таксономиям, которые я создал для своих постов. Кто — нибудь из вас знает простое исправление, функцию или CSS?

Ширина столбца не обертывается

Я не уверен, что это актуально, но вот пользовательский код таксономии, который я добавил в functions.php:

 add_action( 'init', 'create_subjects_hierarchical_taxonomy', 0 ); //create a custom taxonomy name it subjects for your posts  function create_subjects_hierarchical_taxonomy() { // Add new taxonomy, make it hierarchical like categories // First do the translations part for GUI  // Add volume taxonomy  $labels = array(  'name' =gt; _x( 'Volumes', 'taxonomy general name' ),  'singular_name' =gt; _x( 'Volume', 'taxonomy singular name' ),  'search_items' =gt; __( 'Search Volumes' ),  'all_items' =gt; __( 'All Volumes' ),  'parent_item' =gt; __( 'Parent Volume' ),  'parent_item_colon' =gt; __( 'Parent Volume:' ),  'edit_item' =gt; __( 'Edit Volume' ),   'update_item' =gt; __( 'Update Volume' ),  'add_new_item' =gt; __( 'Add New Volume' ),  'new_item_name' =gt; __( 'New Volume Name' ),  'menu_name' =gt; __( 'Volumes' ),  );    // Register the taxonomy  register_taxonomy('volumes',array('post'), array(  'hierarchical' =gt; true,  'labels' =gt; $labels,  'show_ui' =gt; true,  'show_in_rest' =gt; true,  'show_admin_column' =gt; true,  'query_var' =gt; true,  'rewrite' =gt; array( 'slug' =gt; 'volume' ),  ));