function.php
function my_admin_style() { echo '<style type="text/css"> /*ここにCSSを書く*/ </style>'.PHP_EOL; } add_action('admin_print_styles', 'my_admin_style');
タグやスラッグ、サムネイルや文字数を表示した場合
表示が崩れてしまうので下記を追記。
function my_admin_style() { echo '<style type="text/css"> /*.fixed .column-title {width: 60% !important;} */ .fixed .column-author {width: 6% !important;} .fixed .column-comments {width: 6% !important;} .fixed .column-date {width: 10% !important;} .fixed .column-categories {width: 6% !important;} .fixed .column-tags {width: 6% !important;} .fixed .column-slug {width: 6% !important;} .fixed .column-thumbnail {width: 6% !important;} .fixed .column-count {width: 6% !important;} </style>'.PHP_EOL; } add_action('admin_print_styles', 'my_admin_style');