Title: WP Extra File Types
Author: davide.airaghi
Published: <strong>2015 年 1 月 3 日</strong>
Last modified: 2023 年 10 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/wp-extra-file-types/assets/icon-256x256.png?rev=2651791)

# WP Extra File Types

 作者：[davide.airaghi](https://profiles.wordpress.org/davideairaghi/)

[下载](https://downloads.wordpress.org/plugin/wp-extra-file-types.0.5.2.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-extra-file-types/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-extra-file-types/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-extra-file-types/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-extra-file-types/#developers)

 [支持](https://wordpress.org/support/plugin/wp-extra-file-types/)

## 描述

This plugin let you add file types to the default list of file extensions
 supported
by the Media Library upload procedure.

## 安装

 1. Create the directory wp-extra-file-types in your ‘/wp-content/plugins/’ directory
 2. Upload all the plugin’s file to the newly created directory
 3. 通过WordPress的的“Plugins”菜单激活插件

## 评价

![](https://secure.gravatar.com/avatar/17f6fb60cac4b89cea093fcc501c8e1853af6cfc1d9770c11d7e3bd1225d4110?
s=60&d=retro&r=g)

### 󠀁[Does not work](https://wordpress.org/support/topic/does-not-work-1661/)󠁿

 [Sharon Kabel](https://profiles.wordpress.org/sharonkabel/) 2025 年 12 月 23 日

It does not allow you to upload other file types.

![](https://secure.gravatar.com/avatar/2e6a09b6a19a233842337b977c84c44bd4e93f48df19a2cc6d3afd1bd822922e?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9416/)󠁿

 [](https://profiles.wordpress.org/roniux/) 2024 年 10 月 19 日

I needed to add some .exe files to my Wordpress site, and this plugin did the job,
something that other people don’t do is add the instruction “define(‘ALLOW_UNFILTERED_UPLOADS’,
true);” into wp-config.php file, this did the trick with last Wordpress version 
6.6.2 works like a charm. Finally restart Wordpress and it’s done.

![](https://secure.gravatar.com/avatar/a7f640a65cc1584d76b1265c7c620c6e90ac09ab6eb66d845785784d7c1980a0?
s=60&d=retro&r=g)

### 󠀁[It works, but to find the settings is hindering understanding](https://wordpress.org/support/topic/it-works-but-to-find-the-settings-is-hindering-understanding/)󠁿

 [toraxmalu](https://profiles.wordpress.org/toraxmalu/) 2024 年 4 月 20 日

I read several “it doesn’t work”-remarks: it works fine, but the documentation and
description doesn’t help newcomers! Settings you’ll find in section “Settings, Extra
File Types” It only inserts the required filter statements so wordpress allows to
upload and managing those files. The plugin itself doesn’t bring file support itself–
only modifies the upload-filter!

![](https://secure.gravatar.com/avatar/81d6cd29d711b1b8f768e3f31b7493de331a70168494303d83b73c2dbeca125c?
s=60&d=retro&r=g)

### 󠀁[does not work, as expected](https://wordpress.org/support/topic/does-not-work-as-expected-11/)󠁿

 [audioscavenger](https://profiles.wordpress.org/audioscavenger/) 2024 年 3 月 22
日

Works partially. With correct mime type, yes you can upload new files as “documents”,
but they are either refused in the end, or renamed into TIF extension if the mimtype
is image. impossible to insert them as attachement in a post. there is a better 
plugin out there that creates posts for that purpose.

![](https://secure.gravatar.com/avatar/dcc7775e6bc3519d80ac7cc00b80b2997d715e0f0424d17a9985bfce57ac291e?
s=60&d=retro&r=g)

### 󠀁[Works perfectly if you set it up properly!](https://wordpress.org/support/topic/works-perfectly-if-you-set-it-up-properly/)󠁿

 [stevecattobooks](https://profiles.wordpress.org/stevecattobooks/) 2024 年 1 月
24 日

This was great. We are a publisher, so the inability to upload .epub files as a 
Woocommerce product was a killer. It uses the Wordpress file types list. What you
have to do is remember to go to Settings in Wordpress and select the file types 
you want AND scroll right to the bottom and save the changes. I didn’t do that first
time – thinking that toggling the checkbox was enough, so it didn’t remember.

![](https://secure.gravatar.com/avatar/d08be3276572e2769f02a02e49f192a9cfbb797f8edaab168bf791954dfcdd2b?
s=60&d=retro&r=g)

### 󠀁[you had one job](https://wordpress.org/support/topic/you-had-one-job-4/)󠁿

 [biloute](https://profiles.wordpress.org/antwake/) 2023 年 9 月 28 日

this plugin doesnt do the thing it’s supposed to do 😅

 [ 阅读所有39条评价 ](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/)

## 贡献者及开发者

「WP Extra File Types」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ davide.airaghi ](https://profiles.wordpress.org/davideairaghi/)

[帮助将「WP Extra File Types」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-extra-file-types)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-extra-file-types/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-extra-file-types/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-extra-file-types/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-extra-file-types/)。

## 更新日志

#### 0.5.2

 * files cleanup

#### 0.5.1

 * security optimizations
 * code optimizations

#### 0.5

 * adapted to WP 5.8.2
 * bug fixes
 * code optimizations

#### 0.4.4.1

 * user interface fix

#### 0.4.4

 * released experimental fix to have better integration with GravityForms

#### 0.4.3

 * fix on custom file types

#### 0.4.2

 * mime types database updated

#### 0.4.1

 * changed .exe mime type

#### 0.4.0

 * added more extensions and mime types
 * added the option “skip wordpress check” to disable WordPress internal checks
 * changes to settings page

#### 0.3.6

 * do not display file types already allowed by WordPress
 * added the option “skip strict mime type check”
 * fixed a problem related to mime types identification strings different between
   PHP finfo_* functions and user defined list

#### 0.3.5

 * added .pages
 * added .numbers
 * added .keynote

#### 0.3.4

 * added .mobi

#### 0.3.3

 * added .notebook
 * added .gallery

#### 0.3.2

 * added .woff2 file type

#### 0.3.1

 * added .gpx file type, thanks to “SpriterQC” for the suggestion

#### 0.3.0

 * added custom file types administration, you can add/remove/modify new entries

#### 0.2.4

 * renamed .bid to .bld, thanks to “wbdesinger”

#### 0.2.3

 * added .m4r file type, thanks to “ywait4ever” for the suggestion

#### 0.2.2

 * added .bid file type, thanks to “wbdesigner” for the suggestion

#### 0.2.1

 * added .msp and .msu file types, thanks to “zkiller” for the suggestion

#### 0.2

 * added a long list of mime-types
 * added administration page

#### 0.1

 * first release

## 额外信息

 *  版本 **0.5.2**
 *  最后更新：**3 年前**
 *  活跃安装数量 **40,000+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.3.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-extra-file-types/)
 * 标签
 * [file type](https://cn.wordpress.org/plugins/tags/file-type/)[media library](https://cn.wordpress.org/plugins/tags/media-library/)
   [upload](https://cn.wordpress.org/plugins/tags/upload/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-extra-file-types/advanced/)

## 评级

 3.4 星（最高 5 星）。

 *  [  21 条 5 星评价     ](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/?filter=4)
 *  [  2 条 3 星评价     ](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/?filter=2)
 *  [  14 条 1 星评价     ](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-extra-file-types/reviews/)

## 贡献者

 *   [ davide.airaghi ](https://profiles.wordpress.org/davideairaghi/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-extra-file-types/)