Looking to add file size column in the WordPress media library? Add the following in child theme’s functions.php: If you would like to use a plugin for the same, here are a few options: Media Files Tools Admin Columns References: http://wordpress.stackexchange.com/a/195842/14380 https://codex.wordpress.org/Function_Reference/size_format
Media Library
How to add a URL admin column in WordPress Media Library
Update on February 12, 2017: Created a Plugin version of this. See near the end of this post. Wouldn’t it be handy to be able to easily copy a media item URL directly on the main Media Library screen rather than having to open the item? The following is better formatted version of this code […]
How to add a Time admin column in WordPress Media Library
Looking to display the time at which media has been attached/uploaded to your WordPress library along with the date? Add the following in your child theme’s functions.php: add_filter( ‘manage_media_columns’, ‘sk_media_columns_time’ ); /** * Filter the Media list table columns to add a Time column. * * @param array $posts_columns Existing array of columns displayed in […]
Recent Comments