[Plugin: File Gallery] Custom Extension Type Broken
-
I have a custom extension type setup to display a PDf icon and have a pdf.png in the wp-includes/images/crystal folder.
add_filter('ext2type', 'modify_ext2type'); function modify_ext2type($filters) { $filters['document'] = array( 'doc', 'docx', 'docm', 'dotm', 'odt', 'pages', 'rtf' ); $filters['pdf'] = array( 'pdf' ); return $filters; }
With the new version (1.7) the gallery plugin has reverted to displaying the standard document icon, not the custom PDF icon. The PDF icon is displayed in the media tab but not the gallery.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘[Plugin: File Gallery] Custom Extension Type Broken’ is closed to new replies.