Описание
This plugin adds a custom File Upload Field to WPForms, enabling users to:
— Upload files (e.g., PDF, images, documents) via frontend forms.
— Restrict file types and sizes.
— Securely store uploaded files in the WordPress uploads directory.
— Attach files to email notifications (optional).
Usage
-
Add the File Upload Field to a Form:
- Edit or create a WPForm.
- Drag and drop the «File Upload» field into your form.
-
Configure Field Settings:
- Allowed File Types: Specify extensions (e.g.,
pdf, jpg, png
). - Max File Size: Set a limit (e.g., 10MB).
- Storage Location: Files are saved to
/wp-content/uploads/wpxform-uploads/
.
- Allowed File Types: Specify extensions (e.g.,
-
Attach Files to Email Notifications (Optional):
- Enable the «Attach Files to Email» option in the form’s Notifications settings.
Features
- Drag-and-drop file upload support.
- Server-side validation for file types and sizes.
- Unique filenames to prevent conflicts.
- Compatible with WPForms Lite/Pro.
Установка
-
Upload the Plugin:
- Go to Plugins > Add New > Upload Plugin.
- Upload the
[plugin-name].zip
file. - Click Install Now and Activate.
-
Manual Installation:
- Unzip the plugin folder.
- Upload the
[plugin-name]
directory to/wp-content/plugins/
. - Activate the plugin via Plugins > Installed Plugins.
Отзывы
Участники и разработчики
«File Upload For WPForms» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «File Upload For WPForms» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.