Media library admin columns with attachment id
Adding this snippet to the functions.php of your wordpress theme will add a new column within the media library admin columns with the attachment id.
read moreAttach images with simple thumbnail selection metabox
A little snippet I wrote recently to easily attach images to posts with a simple thumbnail selection metabox. Add the first snippet to the functions.php of your wordress theme. Place the second snippet within the loop of your wordpress theme to display the images in your posts or pages.
read moreRemove “From computer” tab for posts with existing attachments
Adding this snippet to the functions.php of your wordpress theme will remove the “From computer:” tab from posts within existing attachments.
read morethis months featured snippets
Count total number of jpg, gif, png images in media library
Adding the first snippet to the functions.php of your wordpress theme will display a count of all images within the media library. Add the second snippet in the location you wish to display the count total.
read moreList all unattached files in media library
Adding the first snippet to the functions.php of your wordpress theme then add the second snippet into your wordpress template. Once added this snippet will display thumbnails of unattached image files and links to other file types.
read moreAdd media library column with image width and height
Adding this snippet to the functions.php of your wordpress theme will add a new column to the media library that will display the images width and height.
read moreAdd custom tab to featured image media library popup
Adding this snippet to the functions.php of your wordpress theme will add a new tab to the featured image popup called mime types. Clicking on this tab will display a list of the allowed file types however this could be changed to display almost any information.
read moreAdd file type category within the media library
Adding this snippet to the functions.php of your wordpress theme will add a new file type category within the media library for application/x-shockwave-flash mime type. This is a great snippet when you have a lot of files so that you can sort by category.
read more












