This should do the trick:
add_action( 'admin_print_styles', 'cor_admin_print_styles', 200 );
function cor_admin_print_styles() {
$screen = get_current_screen();
if ( 'edit-tags' === $screen->base && 'department' === $screen->taxonomy ) {
echo <<<EOF
<style>
.fixed .column-posts {
width: auto;
}
.widefat .num, .column-comments, .column-links, .column-posts {
text-align: left;
}
</style>
EOF;
}
}
Related Posts:
- Ordering posts by custom taxonomy in admin area
- How to customize admin posts based on the user who is logged in
- Get parse_query filter to return slug instead of id
- How to check if post/page or taxonomy post is published by admin
- Custom post types, taxonomies, and permalinks
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- How to get all taxonomies of a post type?
- Permalinks: custom post type -> custom taxonomy -> post
- How do I query a custom post type with a custom taxonomy?
- How to Add Tags to Custom Post Type?
- Add category base to url in custom post type/taxonomy
- Include custom taxonomy term in search
- Custom Taxonomy specific to a Custom Post type
- List all posts in custom post type by taxonomy
- Mixing custom post type and taxonomy rewrite structures?
- Advanced search form with filters for custom taxonomies and custom fields
- Can multiple custom post types share a custom taxonomy?
- How to Add Custom Fields to a Custom Post Type?
- Remove taxonomy slug from a custom hierarchical taxonomy permalink
- Load a script just to custom post type in admin
- Display all posts in a custom post type, grouped by a custom taxonomy
- Custom post type single-{custom}.php not working
- Remove Custom Taxonomy Metabox from Custom Post Type Screen
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Style custom columns in admin panels (especially to adjust column cell widths)
- Get terms by taxonomy AND post_type
- Theme localization of “slugs” (custom post types, taxonomies)
- Rewriting a custom-post-type permalink with taxonomy term?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Saving Taxonomy Terms
- Get Posts by Custom Post Type ,Taxonomy, and Term
- Customize Edit Post screen for Custom Post Types?
- Get The Post Type A Taxonomy Is Attached To
- Custom Taxonomy as checkbox or dropdown
- Filter by custom field in custom post type on admin page
- Getting custom taxonomy from custom post type
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Shouldn’t this be easy?! Custom post type/custom taxonomy permalink
- Showing User’s Post Counts by Custom Post Type in the Admin’s User List?
- Custom Post Type Permalink / Rewrite not working immediately
- Merge two custom post types into one admin page?
- Remove the “View” Link in Post Admin
- How to Add Custom Taxonomy To Woocommerce Plugin
- How do I append multiple taxonomies to the URL?
- List all the tags from a custom post type
- Efficient Taxonomy Intersection
- How to get the posts of a custom taxonomy term
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- Show Custom Taxonomy Inside Custom Menu
- Display current taxonomy term when inside custom post type
- How to create a custom template for a custom taxonomy?
- Are custom post types lost when the theme is changed?
- Custom post types filtered by taxonomy using REST API v2
- limit selection of custom taxonomies to one?
- Multiple custom post types under one admin menu
- How can I change the admin search posts fields?
- Filtering a custom post type by custom taxonomy in archive template
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- get term archive url / link
- Get term slug of current post
- What are the differences between custom post type and custom page templates?
- Custom Post type & Taxonomy URL structure
- Create a shortcode to display custom post types with a specific taxonomy
- Custom post type: Add “Edit | Quick Edit | Trash | View” links to date (if title is not shown in column)?
- Remove slug in taxonomy url
- List the categories under custom taxonomy
- Taxonomy, Terms, and Template Files
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Custom Post Type and Taxonomy URL rewrite
- Any way to make posts inherit properties/taxonomies through a single assigned taxonomy
- Exclude a category from WP_Query
- Check if post type has term
- Custom Taxonomy as Dropdown in admin
- Combining Multiple Taxonomies in one URL
- get_the_category_list or get_the_tag_list for custom post types and taxonomies?
- Getting the Intersection of Two Custom Taxonomy Terms for a Custom Post Type?
- Why does my custom taxonomy show a total count across all post types
- Set relationship between custom_post_types
- How to Make a Separate RSS Feed for Each Custom Post Type
- How can I rewrite URLs to pass taxonomy and post type values to the query?
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- Assign posts to taxonomy terms instead of the taxonomy terms to posts?
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- How to completely disable a taxonomy archive on the frontend?
- $wp_query->queried_object->ID throws warning: Undefined property
- Add “Last Edited by” column to custom post type list table
- Automatically create child pages when saving a (parent) page
- Check if a custom taxonomy archive page is being displayed
- How to limit the number of terms (terms acts like categories)
- How can I filter posts by post_parent in the admin?
- Permalink rewrite 404 conflict- WordPress Taxonomies/ CPT
- Get Custom Taxonomy ID within loop
- Custom Post Types not showing on Custom Taxonomy archive page
- WP insert post and custom taxonomy
- custom post type or taxonomy
- Filter custom post types in admin not working
- Pagination throws 404 error on custom taxonomy archive pages
- Create page to handle form submission
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Select All in Parent Category, Group by Child Category?