Hide username from users list

There are no direct filters using which we can change the content of Name column. So to get what you want, we should remove ‘Name’ column too and create our own Name column. Therefore, modify_user_columns function will be like this function modify_user_columns($column) { $column = array( “cb” => “<input type=\”checkbox\” />”, “wdm_name” => __(‘Name’), “email” … Read more

Remove the columns in media library

The hook for these columns is manage_media_columns. So just filter the columns here: add_filter( ‘manage_media_columns’, ‘wpse_77687_remove_media_columns’ ); function wpse_77687_remove_media_columns( $columns ) { unset( $columns[‘author’] ); unset( $columns[‘comments’] ); return $columns; }

Split content into multiple columns using more tag?

Why not just create a few shortcodes for what you need? you can create columns for all kind of uses,, add this to your themes function.php file.. <?php function yourtheme_one_third( $atts, $content = null ) { return ‘<div class=”one_third”>’ . do_shortcode($content) . ‘</div>’; } add_shortcode(‘one_third’, ‘yourtheme_one_third’); function yourtheme_one_third_last( $atts, $content = null ) { return … Read more

How to add custom columns to Custom Post Type admin screen

The code from ThinkVitamin is right. I think the problem came from else where in your code. Actually, the hook manage_edit-${post_type}_columns takes an argument $columns which is an array of all registered columns. To add a new column, just add a new element to this array, like this: add_filter(‘manage_edit-film_columns’, ‘my_columns’); function my_columns($columns) { $columns[‘views’] = … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)