Linux 软件免费装
Banner图

Multiple File Upload for Contact Form 7

开发者 hell0bunny
更新时间 2026年8月20日 22:07
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

attachments contact form 7 file upload drag and drop multiple files

下载

1.1.0 1.0.0

详情介绍:

Give any Contact Form 7 form a clean multiple-file field. Visitors drag files in or click to browse. You control the button text, file types, size limits, and where each form stores uploads. Upload that feels easy Save files your way — per form Each form has its own Multi-file Upload tab. Turn saving on only where you need it. Folders that stay organized When you save under wp-content, pick how subfolders are created: Name saved files with tokens like {filename}, {date}, {time}, and {random}. The original extension is always kept. Email that is ready to open Built for Contact Form 7 Requirements

安装:

  1. Upload the bunny-co-multiple-file-upload-cf7 folder to /wp-content/plugins/
  2. Activate Multiple File Upload for Contact Form 7 through the Plugins screen
  3. Make sure Contact Form 7 is installed and active
  4. Edit a Contact Form 7 form
  5. Click the multi-file button in the form-tag generator
  6. Insert the tag into the Form tab
  7. Add the matching mail-tag to the Mail tab File attachments field (and optionally the message body)
  8. Optional: open the form’s Multi-file Upload tab to save files to the media library or a wp-content folder

屏幕截图:

  • Frontend contact form with the drag-and-drop upload field
  • Selected files list with remove controls and file count
  • Submitted files attached to the Contact Form 7 notification email
  • Mail tab showing the multi-file mail-tag in the message body and File attachments fields
  • Per-form Multi-file Upload settings: save to the media library or a wp-content folder, organize by form name, and set the saved file name

升级注意事项:

1.1.0 Adds custom button labels and per-form file saving (media library or wp-content folder), with mail-tag file links. 1.0.0 Initial release.

常见问题:

Are uploaded files attached to the email?

Yes. Add the field’s mail-tag (for example [attachments]) to the Mail tab File attachments box. Contact Form 7 will attach the uploaded files to the notification email. Place the same mail-tag in the message body to show file names, or openable links when Save uploaded files is enabled on that form.

How do I make the upload required?

Use the required form-tag: [hbwa_mfile* your-field-name ...].

How do I change the Choose files button text?

In the tag generator, set Button label. If you leave it empty, the button shows “Choose files”. Example: [hbwa_mfile attachments "Select files"].

Where are files stored?

By default they stay in Contact Form 7’s temporary folder and are attached to the email. On the form’s Multi-file Upload tab, enable Save uploaded files and choose the media library or a folder under wp-content. You can organize that folder by year, month, user, or the form name slug.

Can each form save files differently?

Yes. Saving, destination, folder layout, and file name are set on that form’s Multi-file Upload tab only.

更新日志:

1.1.0 1.0.0