How to Create File Uploader In WordPress?
The File Manager for Dropbox plugin (formerly Integrate Dropbox) allows you to create a File Uploader shortcode that enables visitors to upload files and folders directly to a specified Dropbox folder. This feature is perfect for collecting submissions, files, or assets from users while saving storage on your WordPress hosting.
This guide will walk you through the steps to create and use the File Uploader.
Step 1: Install and Activate File Manager for Dropbox
Install and activate the plugins according to this documentation.
Step 2: Connect Your Dropbox Account
Connect your Dropbox App with WordPress and access your all files and folders.
Step 3: Configure the File Uploader
- Go to File Manager for Dropbox > Shortcode Builder.
- Select the File Uploader module from the list of available options.
- Configure the settings:
- Upload Location: Choose or create a folder in Dropbox where the uploaded files will be stored.
- Allowed File Types: Specify which file types visitors can upload (e.g.,
.jpg
,.png
,.pdf
). - Max File Size: Set the maximum file size limit for uploads.
- Folder Uploads: Enable if you want users to upload entire folders.
- Custom Labels: Customize the labels for the uploader fields, such as the Upload Button or Drag-and-Drop Area.
- Once configured, click Generate Shortcode.
Step 4: Add the Shortcode to Your Page or Post
- Copy the generated shortcode (e.g.,
[integrate-dropbox id="1234"]
). - Go to Pages > Add New or edit an existing page/post where you want to add the uploader.
- Paste the shortcode into the editor (Classic, Gutenberg, or Elementor).
- For Gutenberg: Use the Shortcode block.
- For Elementor: Use the Shortcode widget.
- Save or publish the page.
Step 5: Test the File Uploader
- Visit the page where you added the shortcode.
- Upload a file or folder to ensure it functions as expected.
- Check your Dropbox account to verify the files are stored in the specified folder.