1. Home
  2. Docs
  3. Filr
  4. Frontend Uploader

Frontend Uploader

With version 1.0.0 the Filr Uploader was introduced in Filr. You can now let other users add files directly from the frontend of your website.

Frontend Uploader 1

Shortcode

The frontend uploader is a new shortcode called [filr-uploader]

You can also use a couple of parameters to further customise the usage of the frontend uploader

Library parameter

Using the library parameter to specify a specific library users can upload their files to:

[filr-uploader library="my-library"]

Status parameter

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:

[filr-uploader status="draft"]

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:

[filr-uploader user-role="subscriber"]

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 by a comma.

[filr-uploader user-email="[email protected]"]

Styles and Settings

Go to Filr->Settings->Frontend Uploader to customise the look and feel of the uploader and configure some additional settings.

Frontend Uploader 2

You can modify the headline, limiter, and button labels, add a custom icon (Unicode) for the uploader and modify the branding colors to match it with 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.