Wordpress: Is there a way to adjust the column width for a Post table?

None of the suggested width topics are related to WordPress. I need to adjust the width of the Posts table that appears when you select posts (copyright categories, etc.). I looked in the "Appearance / Edit" on each .php template and can not find anything related to this. I'm sure I missed something. In addition, I don’t need the Date and Tags columns. Can I remove these or at least hide them?

Thanks Mike Carter

+5
source share
5 answers

You can do this by creating a tiny plugin and activating it:

<?php
/*
Plugin Name: hidey
*/

add_action('admin_head', 'hidey_admin_head');

function hidey_admin_head() {
    echo '<style type="text/css">';
    echo '.column-date { display: none }';
    echo '.column-tags { display: none }';
    echo '.column-author { width:30px !important; overflow:hidden }';
    echo '.column-categories { width:30px !important; overflow:hidden }';
    echo '.column-title a { font-size:30px !important }';
    echo '</style>';
}
?>

Obviously make CSS adjustments as needed.

+13

post, functions.php ( , , pp19dd-):

add_action('admin_head', 'mytheme_admin_head');
function mytheme_admin_head() {
    global $post_type;
    if ( 'my_custom_post_type' == $post_type ) {
        ?><style type="text/css"> .column-date { width: 20%; } </style><?php
    }
}
+1

, " " 3 , , Title. , .

- . , .

" ". , , . , . , Presto, , . , .

0
source

The "Howdy Travel Little Known Places" drop-down menu closes my Screen Settings button. Is there still access to the screen settings?

0
source

One trick worked for me on a 17 inch screen.

Scroll to the bottom of the WordPress toolbar, then click on the “Minimize Menu” located in the lower left corner.

This will reduce the width of the dashboard menu and subsequently increase the width of the records / page table.

isn't it easy?

0
source

All Articles