Filr also allows uploading files directly from the frontend. This can be useful if you want to make uploading files accessible for users that don’t have admin access. It also comes with a bunch of options to modify the behavior.
Table of Contents
The frontend uploader is a new shortcode called [filr-uploader]. You can also use a couple of parameters to further customize the usage of the frontend uploader
Using the library parameter to specify a specific library users can upload their files to:
Using the status parameter to specify a specific status that will be added to the uploaded file. This can be useful if you need some kind of manual review before publishing files to a library:
User role parameter
Using the user-role parameter to specify a user role that should be able to upload files. You can restrict that to any user role you like and block the upload for unauthorized users:
User email parameter
Using the user-email parameter to specify a specific user by e-mail that should be able to upload files. You can restrict that to any user e-mail you like and block the upload for unauthorized users. Also, you can add multiple e-mails by separating them with a comma.
Go to Filr->Settings->Frontend Uploader to customize the look and feel of the uploader and configure some additional settings.
You can modify the headline, limiter, and button labels, add a custom icon (Unicode) for the uploader and modify the branding colors to match your design.
You can also activate a reload after a successful file upload. This is useful when using the uploader on the same page as the library shortcode to make the file immediately visible to the user.