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
- Display all posts in a custom post type, grouped by a custom taxonomy
- Style custom columns in admin panels (especially to adjust column cell widths)
- Ordering Posts List By Taxonomy Terms?
- Templates for Custom Post Types and Custom Taxonomies
- WordPress Custom Post Type Category Page
- post count is wrong when using same taxonomy for 2 different CPT
- Issues when rewrite rules collide?
- Add links to post categories and taxonomies in wysiwyg link modal?
- Archive page for taxonomy of custom post type
- CPT tax slug conflict with post type slug
- Custom post type archive with dynamic taxonomy filtering – is it possible
- Multiple Archive Pages for Custom Post Types AND Taxonomies
- Custom Taxonomy Breadcrumb Navigation
- Remove “-2” from a Toolset Types URL with the same post name
- Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
- Exclude current post when getting related post on custom post type and taxonomy
- Display Posts of a Category in Alphabetical Order (Custom Post Type)
- Ordering Custom Post Types with WP_Query
- Is it possible to make tag archive page specific to Custom Post Type?
- Multiple portfolios with one custom post type?
- Custom Post Type and Taxonomy combination
- How can I display my custom metaboxes on a custom post template?
- How to specify URLS for custom posts & taxonomies
- Taxonomy.php Not Showing Posts
- How to check the terms in single custom post type template
- Taxonomy Archive: Display only one post per term from separate custom taxonomy
- Is possible add class for last post of Custom Post Type?
- How to only show posts assigned to current user, only in certain post types
- Show listings from Impress Listing plugin in random order using taxonomy and terms
- Archive for custom taxonomy lists all posts instead of current taxonomy
- Posts from all the categories are being displayed instead of particular category
- WP_Query most viewed posts, in multiple Post Types, last 30 days, excluding a specific taxonomy term
- Custom-Posttype & Custom Taxonomy WP_Query
- wp_list_categories() – current-cat class also inside posts?
- Showing the custom taxonomy parent term and child term of a post
- Template for custom post with custom taxonomy
- Custom post type url with category
- Adding custom post category slug in permalink causes 404 error for pages and posts
- Taxonomies don’t show up on in the dashboard page for a custom post type in wordpress 5.22
- Custom taxonomy rewrite with query var returns %2F in URL
- Remove slug in URL custom post type
- Taxonomies relations
- Adding custom taxonomy in same menu place with two custom post types
- Displaying custom-taxonomy-terms sorted by parent/child-hierarchy?
- Retrieve custom post types by custom taxonomies with WP_Query
- How do I add a Custom Post Type that looks and behaves exactly the same as Posts?
- Template files for Custom Post Type and Taxonomy
- Custom Post type & Taxonomy 404
- WordPress menu with custom taxonomy
- attach CPT data to a taxonomy
- Listing all slugs?
- Custom Category Walker with Image, Fallback to Most Recent Post in Category Image
- Creating a non-hierarchical Taxonomy that behaves like categories
- Custom Post Type not showing in main loop
- How to get xml file for a single post type?
- How to change single custom post template by custom taxonomy?
- How to query Posts from a custom post type which contains a custom taxonomy?
- Questions regarding add_meta_box()
- How to Control CSS Class Visiblity From WordPress Admin Panel based on Tax Terms
- Problem retrieving informations and displaying desired structure with custom post type and taxonomy
- Best Way to Query Custom Taxonomies Used on Custom Post Type
- How do I ensure that post_type and Taxonomy use the same slug?
- Archive page of CPT’s custom Taxonomy
- WordPress CPT Taxonomy Dashboard Search – How to include taxonomy in search?
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- How to show related posts of category on post within custom posttype
- Not saving custom taxonomy while using ajax
- Dynamic template page calling shared taxonomies CPT or Plugin post type : how to clone taxonomy for plugin + set up dynamic shortcode
- Post Tags not working for Custom Post type
- 404 – Taxonomy Archive Page
- Some posts not displaying by taxonomy term
- Custom search for a custom post type in WordPress
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- Custom taxonomy with custom post type archive page
- Multiple non-hierarchical custom taxonomies frequently used terms showing up in first selected taxonomy box
- Custom URL for Custom Post Type & Custom Taxonomy Term
- I want to create pagination for my custom post type archive that i am displaying with loop
- Showing taxonomies with terms that are attached to custom post
- Saving Child Terms on front end not setting parent
- Help with Travel Guide Setup
- Displaying WordPress posts from post and custom post type in custom taxonomy
- Custom post type taxonomy template and URL confusion
- How can I add a “fake” parent into the permalink?
- Loop with Custom Post Type and Taxonomies
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- Custom Post Type Causing Admin Sidebar UI Issue
- WordPress Custom Post Type and sort by Tags
- Change column of row action (Quick Edit) links in WP_List_Table
- Using one custom taxonomy.php for two custom taxonomies?
- Missing categories for Custom Taxonomy and Custom Posts
- posting twice from an array?
- Show one of the taxonomies always as default
- Custom taxonomy labels won’t display
- Custom post type with custom taxonomy
- How do I target a links only in a custom post type and only in the p tag?
- From form submission values – dynamically update CPT “has_archive” slug and custom taxonomy “rewrite” slug value