Dodaj poniższy kod do pliku functions.php
add_image_size( 'admin-thumb-size', 80 , 80, true );
function wpnet_posts_columns( $defaults ) {
$defaults['wpnet_post_thumbs'] = __( 'Thumbs' );
return $defaults;
}
add_filter( 'manage_posts_columns', 'wpnet_posts_columns', 5 );
function wpnet_posts_custom_columns( $column_name, $id ) {
if ( $column_name === 'wpnet_post_thumbs' ) {
echo the_post_thumbnail( 'admin-thumb-size' );
}
}
add_action( 'manage_posts_custom_column', 'wpnet_posts_custom_columns', 5, 2 );