In the Media Library, there are a few convenient filter links (Images | Audio | Video). This plugin allows you to add other types to that list.
For example, you could add a PDFs link to easily find all PDFs in the Media Library.
May require at least 2.8.6 (definitely doesn’t work on anything older than that)
Download
Latest version: Download More Mime Type Filters v0.3
Installation
- Upload
mimes.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Find the Mime Types page under Media in the sidebar
FAQ
Q. How can I add more mime types?
A. If you’ve customized the allowed mime types for upload, they’ll automatically appear on this plugins admin page.
Here’s some example code for how to all additional mime types to be uploaded:
add_filter( ‘upload_mimes’, ‘make_alfredextenstion_allowed_upload’ );
function make_alfredextenstion_allowed_upload( $mimes ) {
$mimes[‘alfredextension’] = ‘application/octet-stream’;
return $mimes;
}
Changelog
0.3
- Prettier admin page
- Clean up notices
0.2
- bug fix for non-admins in debug mode
0.1
- First release
It would be great if you could add ZIP file type, too.
The list of extensions comes from the
get_allowed_mime_types()
function in WordPress. The only reason ‘zip’ wouldn’t appear in the list is if another plugin is interfering.Hello Kailey,
OK; thanks for your reply:
that’s strange then – I have to check that.
Best regards
Andreas
Is there way to add custom mime types for the other files those isn’t in list?
The FAQ page has the code snippet for adding more file types.