Este plugin não foi testado com as 3 atualizações principais mais recentes do WordPress. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas de compatibilidade quando usado com versões mais recentes do WordPress.

File Upload Types by WPForms

Descrição

WordPress File Upload Types Plugin

Do you want to let your WordPress website accept uploads from your users for more file types and to freely upload files? We created the File Upload Types plugin to make it simple for anyone to easily add support for any file types with any extension or MIME type.

How WordPress File Uploads Work

By default, WordPress only allows certain file types to be uploaded to your website’s media library.

If someone tries to upload a file type outside of these whitelisted WordPress file extensions, this can be the cause of the common WordPress error Sorry, this file type is not permitted for security reasons message.

It can be frustrating if you’ve created a file upload form in WordPress but the file type you want to accept is a file extension that’s not allowed.

This plugin lets your website upload more file types beyond the limited file extension types that WordPress allows by default.

How does the File Upload Types plugin work?

The File Upload Types plugin works by letting you adjust the internal file whitelist, letting you manually control which types of file extensions your WordPress website can upload.

This way, you can accept any file type through your website and/or any contact form plugin like WPForms.

What file types can I upload to WordPress with this plugin?

The File Upload Types plugin lets you allow uploads of any file extension, including custom file types.

Some common file extension types this plugin lets you add that WordPress doesn’t support natively include:

.ai
.zip
.xml
.svg
.csv
.mobi
.cad
.dwg
.dxf

…and any other file extensions that exist, including custom file types.

We hope that you find the File Upload Types plugin helpful!

Credits

This plugin was created by the team behind WPForms – the best drag & drop form builder for WordPress.

What’s Next

If you like this plugin, then consider checking out our other projects:

  • WPForms – The best WordPress Contact Form Plugin.
  • OptinMonster – Get more email subscribers with the most popular conversion optimization plugin for WordPress.
  • MonsterInsights – See the stats that matter and grow your business with confidence. Best Google Analytics plugin for WordPress.
  • SeedProd – Jumpstart your website with the #1 Coming Soon & Maintenance Mode plugin for WordPress.
  • WP Mail SMTP – Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress.
  • RafflePress – The Best WordPress giveaway and contest plugin.

Visit WPBeginner to learn from our WordPress tutorials and find out about other best WordPress plugins.

Imagens de tela

  • Settings Page

Instalação

  1. Install File Upload Types by WPForms either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install a WordPress plugin)
  2. Activate File Upload Types by WPForms.
  3. Navigate to the Settings area of the File Upload Types plugin in your WordPress admin menu to add file types and MIME types.

FAQ

What file types can I upload to WordPress by default?

By default, WordPress only allows cetain types of files to be uploaded to a website for security reasons.

Some common file types and file extensions that WordPress supports uploading by default include:

Images
.jpg
.jpeg
.png
.gif
.ico

Documents
.pdf (Portable Document Format; Adobe Acrobat)
.doc, .docx (Microsoft Word Document)
.ppt, .pptx, .pps, .ppsx (Microsoft PowerPoint Presentation)
.odt (OpenDocument Text Document)
.xls, .xlsx (Microsoft Excel Document)
.psd (Adobe Photoshop Document)

Audio
.mp3
.m4a
.ogg
.wav

Video
.mp4, .m4v (MPEG-4)
.mov (QuickTime)
.wmv (Windows Media Video)
.avi
.mpg
.ogv (Ogg)
.3gp (3GPP)
.3g2 (3GPP2)

Having problems uploading permitted file types or with a big file upload? Some WordPress hosting providers don’t allow you to add all file types, even if you add file types to your media file library with the File Upload types plugin. Hosts can also limit the maximum file upload size you can accept.

I found a bug, now what?

If you’ve stumbled upon a bug, the best place to report it is in the File Upload Types GitHub repository. GitHub is where the plugin is actively developed, and posting there will get your issue quickly seen by our developers. Once posted, we’ll review your bug report and triage the bug. When creating an issue, the more details you can add to your report, the faster the bug can be solved.

Help! I need support or have an issue.

Support is available for File Upload Types via the WordPress.org support forums.

Email support is available to WPForms PRO users.

Avaliações

23 março, 2023 1 resposta
I think the idea is good if it worked. I can't use it to upload .ai files, or .cdr even by creating custom filetypes.
30 março, 2023 1 resposta
Works as intended. Great support. Thanks.
7 setembro, 2022 1 resposta
This plugin worked perfectly for me and was easy to use. I only used it for an epub (and you do have to select the correct file extensions in settings before it will work) but I'm very happy with the result. The epub downloads fine.
11 março, 2022
It works but I mean why is this just not built into the main plugin. Makes no sense. There's a breaking point where keeping wordpress lightweight becomes more of a nuisance than it's worth.
Leia todas as 14 avaliações

Colaboradores e desenvolvedores

“File Upload Types by WPForms” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

“File Upload Types by WPForms” foi traduzido para 2 localizações. Agradecemos aos tradutores por suas contribuições.

Traduzir “File Upload Types by WPForms” para o seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.

Registro de alterações

1.3.0 – 2023-02-15

  • IMPORTANT – Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing File Upload Types 1.3.0. Failure to do that will disable File Upload Types core functionality.
  • Enhancement – Add .world and .heif extensions to the default list.
  • Enhancement – The list of mime types was extended with .json, .otf, and .ttf file extensions.
  • Enhancement – Do not load the plugin textdomain locally, since it is not needed starting from WP 4.6.
  • Fix – Microsoft Office MIME type wasn’t properly supported.

1.2.2 – 2021-06-17

  • Fix – PHP notices when invalid files are uploaded.
  • Enhancement – Replace jquery.ready with recommended syntax.

1.2.1 – 2021-02-24

  • Fix – Correctly load composer autoload.
  • Enhancement – Add .eps extension to the default list.
  • Enhancement – Add ‘application/pdf’ mime type to .ai extension.

1.2.0 – 2020-09-15

  • Feature – Multiple MIME types support for a single extension.
  • Fix – WordPress 5.5 not clearing values for reptetitive fields.
  • Enhancement – Remove already allowed jpg,jpeg extension from the list.
  • Enhancement – Improve ‘add your custom file types’ link’.
  • Dev – Deprecate ‘file_upload_types_strict_check’ filter without any alternative.
  • Dev – Increase priority of ‘wp_check_filetype_and_ext’ filter to 999.

1.1.1 – 2020-07-02

  • Fix – Ignore file types that are already allowed by default.
  • Fix – Remove duplicate MIME types of the same extension that could create conflict.

1.1.0 – 2020-05-13

  • Refactor – Autoloading plugin files and use namespace.
  • Fix – Error uploading file types with numerical extension.
  • Fix – Icon position on small sized devices.
  • Enhancement – Custom types field color visisbility.
  • Enahcement – Parameters to the strict check filter.

1.0.0 – 2020-02-12

  • Initial Release