Every attribute the [wordpress_file_upload] shortcode accepts. You can set all of them from the plugin’s Shortcode Composer as well — the attribute name is what the Composer writes into the shortcode. Anything you do not set keeps its default.
General38
Basic Functionalities11
Plugin ID#
Default1
The unique id of each shortcode. When you have many shortcodes of this plugin in the same page, then you must use different id for each one.
Single Button Operation#
Defaultfalse
When it is activated, no Upload button will be shown, but upload will start automatically as soon as files are selected.
Multiple Files UploadPro#
Defaulttrue
When it is activated, more than one files can be uploaded at the same time.
Directory UploadPro#
Defaultfalse
When it is activated, the user can select (or drag) an entire directory to upload. For selecting a directory using the select button, Control key needs to be pressed also. The directory can also contain nested directories. The plugin will extract and upload all contained files. It works when Multiple Files Upload is also activated.
Force Only Directory SelectionPro#
Defaultfalse
When it is activated, the selection dialog, shown when user presses Select Files button, will always select directories.
Only applies when allowdir is on.
Upload Path#
Defaultuploads
This is the folder where the files will be uploaded. The path is relative to wp-contents folder of your WordPress website. The path can be dynamic by including variables such as %username% or %blogid%. Please check Documentation on how to use variables inside uploadpath.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Plugin Fit Mode#
Defaultfixed
Valuesfixedresponsive
This defines how the plugin’s elements will fit inside the page/post. If it is set to fixed, then the plugin’s element positions will remain fixed no matter the width of the container page/post. If it is set to responsive, then the plugin’s elements will wrap to fit the width of the container page/post.
Allow No File#
Defaultfalse
When it is activated a user can submit the upload form even if a file is not selected.
Reset Form Mode#
Defaultalways
Valuesalwaysonsuccessnever
It defines whether the form will be reset after upload; ‘always’ means that it will be reset in any case, ‘onsuccess’ means that it will be reset only if upload was successful, ‘never’ means that it will never be reset.
Security3
Include CaptchaPro#
Defaultfalse
If set to “true“, the user will be prompted to complete a captcha (Google ReCaptcha) before uploading the files.
Captcha TypePro#
DefaultRecaptchaV2
ValuesRecaptchaV1RecaptchaV1 (no account)RecaptchaV2RecaptchaV2 (no account)
Select the type of captcha that will be used. For the moment, Google Recaptcha versions 1 and 2 are supported. Default is Google Recaptcha version 2. If you want to use Google Recaptcha version 2 and you do not have a Google account, then select RecaptchaV2 (no account).
Only applies when captcha is on.
Captcha OptionsPro#
Defaultempty string
Defines any options about the appearance of captcha, such as theme, size, lang etc. It has the following format: option1 = "value1", option2 = "value2", … You can find details about the available options from Google Recaptcha’s website.
Only applies when captcha is on.
Filters4
Upload Roles#
Defaultall,guests
Defines the categories (roles) of users allowed to upload files. Multiple selections can be made. If ‘Select All’ is checked, then all logged users can upload files. If ‘Include Guests’ is checked, then guests (not logged users) can also upload files.
Upload UsersPro#
Defaultall,guests
Defines the users allowed to upload files. Multiple selections can be made. If ‘Select All’ is checked, then all logged users can upload files. If ‘Include Guests’ is checked, then guests (not logged users) can also upload files.
Allowed File Extensions#
Default*.*
Defines the allowed file extensions. Multiple extentions can be defined, separated with comma (,).
Allowed File Size#
Default50
Defines the allowed file size in MBytes. Files larger than maxsize will not be uploaded. Floating point numbers can be used (e.g. ‘2.5’).
Upload Path and Files13
Create Upload Path#
Defaultempty string
If activated then the plugin will attempt to create the upload path, if it does not exist.
Do Not Change Filename#
Defaultfalse
The plugin by default will modify the filename if it contains invalid or non-english characters. By enabling this attribute the plugin will not change the filename.
Folder Access Method#
Defaultnormal
Valuesnormalftp
Some times files cannot be uploaded to the upload folder because of read/write permissions. A workaround is to use ftp to transfer the files, however ftp credentials must be declared, so use carefully and only if necessary.
FTP Access Credentials#
Defaultempty string
If FTP access method is selected, then FTP credentials must be declared here, in the form username:password@ftpdomain:port, e.g. myusername:mypass@ftpdomain.com:80. Port can be ommitted. The user can select Secure FTP (SFTP) by putting the prefix ‘s’ before the port number, e.g. myusername:mypass@ftpdomain.com:s22, or FTP over TLS (FTPS) by putting the suffix ‘s’ after the port number, e.g. myusername:mypass@ftpdomain.com:21s (in this case a port number must be defined).
Only applies when accessmethod is on.
Use FTP Domain#
Defaultfalse
If FTP access method is selected, then sometimes the FTP domain is different than the domain of your WordPress installation. In this case, enable this attribute if upload of files is not successful.
Only applies when accessmethod is on.
FTP Passive Mode#
Defaultfalse
If files fail to upload to the ftp domain then switching to passive FTP mode may solve the problem.
Only applies when accessmethod is on.
Permissions of Uploaded File#
Defaultempty string
Force the uploaded files to have specific permissions. This is a 4-digit octal number, e.g. 0777. If left empty, then the ftp server will define the permissions.
Only applies when accessmethod is on.
Show Upload Folder Path#
Defaultfalse
It defines if a label with the upload directory will be shown.
Select Subfolder#
Defaultfalse
If enabled then user can select the upload folder from a drop down list. The list is defined in subfoldertree attribute. The folder paths are relative to the path defined in uploadpath.
List of Subfolders#
Defaultempty string
The list of folders a user can select. Please see documentation on how to create the list of folders. If ‘Auto-populate list’ is selected, then the list will be filled automatically with the first-level subfolders inside the directory defined by uploadpath. If ‘List is editable’ is selected, then the user will have the capability to type the subfolder and filter the subfolder list and/or define a new subfolder.
Only applies when askforsubfolders is on.
File Duplicates Policy#
Defaultoverwrite
Valuesoverwriterejectmaintain both
It determines what happens when an uploaded file has the same name with an existing file. The uploaded file can overwrite the existing one, be rejected or both can be kept by renaming the uploaded file according to a rule defined in uniquepattern attribute.
File Rename Rule#
Defaultindex
Valuesindexdatetimestamp
If duplicatespolicy is set to ‘maintain both’, then this rule defines how the uploaded file will be renamed, in order not to match an existing file. An incremental index number or a datetime stamp can be included in the uploaded file name to make it unique.
Only applies when duplicatespolicy is on.
Upload Big Files in ChunksPro#
Defaulttrue
This option uses Google Drive technique to allow the upload of very large files (>1GB) quickly by cutting them in pieces, thus overcoming time and size limitations imposed by the web server or the host. It is disabled by default.
Redirection2
Redirect after Upload#
Defaultfalse
If enabled, the user will be redirected to a url defined in redirectlink attribute upon successful upload of all the files.
Redirection URL#
Defaultempty string
This is the redirect URL. The URL can be dynamic by using variables. Please see Documentation on how to use variables inside attributes.
Accepts%filename%%username%
Only applies when redirect is on.
Other Administrator Options5
Show Detailed Admin Messages#
Defaultfalse
If enabled then more detailed messages about upload operations will be shown to administrators for debugging or error detection.
Block Themes Compatibility Mode#
Defaultoff
Valuesautoonoff
It determines the compatibility mode for block themes. If ‘auto’ is selected the plugin will auto-detect if the theme is block based and will adapt its output accordingly. If ‘on’ is selected the plugin will always consider that the theme is block based. If ‘off’ is selected there will be no adaptation for block based themes.
Disable AJAX#
Defaultfalse
If AJAX is disabled, then upload of files will be performed using HTML forms, meaning that page will refresh to complete the upload. Use it in case that AJAX is causing problems with your page (although the plugin has an auto-detection feature for checking if user’s browser supports AJAX or not).
Test Mode#
Defaultfalse
If enabled then the plugin will be shown in test mode, meaning that all selected features will be shown but no upload will be possible. Use it to review how the plugin looks like and style it according to your needs.
Debug Mode#
Defaultfalse
If enabled then the plugin will show to administrators any internal PHP warnings and errors generated during the upload process inside the message box.
Placements1
Plugin Component Positions#
Defaulttitle/filename+selectbutton+uploadbutton/subfolders/captcha/userdata/filelist/message
It defines the positions of the selected plugin components. Drag the components from the right pane and drop them to the left one to define your own component positions.
Labels15
Title1
Buttons3
Select Button Caption#
DefaultSelect File/Select Files
The caption of the button that selects the files for upload. It uses plural form in case of multiple file uploads (commercial version).
Select Button Caption for DirectoryPro#
DefaultSelect Directory
The caption of the select button when selecting a directory.
Upload Folder2
Upload Folder Label#
DefaultUpload Directory
This is the label before the upload folder path, if the path is selected to be shown using the showtargetfolder attribute.
Select Subfolder Label#
DefaultSelect Subfolder
This is the label of the subfolder dropdown list. It is active when askforsubfolders attribute is on.
Captcha Parameters1
Upload Messages4
Success Upload Message#
DefaultFile %filename% uploaded successfully
This is the message that will be shown for every file that has been uploaded successfully.
Accepts%filename%%filepath%
Warning Upload Message#
DefaultFile %filename% uploaded successfully but with warnings
This is the message that will be shown for every file that has been uploaded with warnings.
Accepts%filename%%filepath%
Error Upload Message#
DefaultFile %filename% not uploaded
This is the message that will be shown for every file that has failed to upload.
Accepts%filename%%filepath%
Wait Upload Message#
DefaultFile %filename% is being uploaded
This is the message that will be shown while file is uploading.
Accepts%filename%%filepath%
Webcam Labels3
Upload Media Button Caption#
DefaultUpload Media
The caption of the button that starts the upload when media capture from the webcam has been activated.
Video Filename#
Defaultvideostream
This is the file name of the captured video file.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Image Filename#
Defaultscreenshot
This is the file name of the captured image file.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Other Labels1
Required Fields Suffix#
Default (required)
This is the keyword that shows up next to user field labels in order to denote that they are required.
Notifications9
Email Notifications6
Notify by Email#
Defaultfalse
If activated then email will be sent to inform about successful file uploads.
Email Recipients#
Defaultempty string
Defines the recipients of the email notification. Can be dynamic by using variables. Please check Documentation on how to use variables in atributes.
Accepts%useremail%%userdataXXX%%n%%dq%
Only applies when notify is on.
Email Headers#
Defaultempty string
Defines additional email headers, in case you want to sent an HTML message, or use Bcc list, or use a different From address and name or other more advanced email options.
Only applies when notify is on.
Email Subject#
DefaultFile Upload Notification
Defines the email subject. Can be dynamic by using variables. Please check Documentation on how to use variables in atributes.
Accepts%username%%useremail%%filename%%filepath%%blogid%%pageid%%pagetitle%%userdataXXX%%dq%
Only applies when notify is on.
Email Body#
DefaultDear Recipient,%n%%n% This is an automatic delivery message to notify you that a new file has been uploaded.%n%%n%Best Regards
Defines the email body. Can be dynamic by using variables. Please check Documentation on how to use variables in atributes.
Accepts%username%%useremail%%filename%%filepath%%blogid%%pageid%%pagetitle%%userdataXXX%%n%%dq%
Only applies when notify is on.
Messenger Notifications3
Notify by MessengerMeta Messenger Notifications#
Defaultfalse
If activated then a Messenger message will be sent to inform about successful file uploads.
Messenger TextMeta Messenger Notifications#
DefaultYou have received new files. Check the following link for details.%n%%uploaddetails%
Defines the message that Iptanus File Upload facebook app will send to admin’s Messenger to notify about new uploads. Can be dynamic by using variables. If %uploaddetails% variable is added in the message, it will be replaced by a link, which displays additional details about the upload when clicked.
Accepts%username%%useremail%%filename%%filepath%%blogid%%pageid%%pagetitle%%userdataXXX%%uploaddetails%%n%%dq%
Only applies when messenger is on.
Upload DetailsMeta Messenger Notifications#
DefaultYou have received new files.%n%%n%Files: %filename%%n%%n%Thank you
Defines details about the new upload that will be shown to the recipient if variable %uploaddetails% is included in Messenger Text. Can be dynamic by using variables.
Accepts%username%%useremail%%filename%%filepath%%blogid%%pageid%%pagetitle%%userdataXXX%%n%%dq%
Only applies when messenger is on.
Personal Data9
General Personal Data Options2
Ask for Consent#
Defaultfalse
If activated, then consent from users will be asked for storing their personal data. If users do not give consent, then their data will not be stored in the database, they will only be included in the notification email, if email notifications are active.
Personal Data Types#
Defaultuserdata
Valuesuserdatauserdata and files
Determines which data are considered as personal data. By default only userdata are considered as personal data. If the 2nd option is selected, then files will also be considered as personal data. This means that if the users do not give their consent, then the files will not be uploaded on the website, they will only be inluded in the notification email as attachments, if email notifications are active.
Only applies when askconsent is on.
Consent Behaviour3
Do Not Remember Consent Answer#
Defaultfalse
If activated the plugin will not remember the consent answer provided by the user and the consent question will always show.
Consent Denial Rejects Upload#
Defaultfalse
If activated and user has denied consent then the upload will be rejected. If deactivated, then the upload will continue regardless of consent answer.
Reject Message#
DefaultYou have denied to let the website keep your personal data. Upload cannot continue!
It defines the message that will appear to the user if upload cannot continue due to consent denial.
Only applies when consentrejectupload is on.
Consent Appearance4
Consent Format#
Defaultradio
Valuescheckboxradioprompt
Determines how consent question will appear to the user. If ‘checkbox’ is selected then a checkbox will appear inside the upload form which the user needs to tick. If ‘radio’ is selected then a radio button with ‘Yes’ and ‘No’ answers will appear inside the form (this makes sure that the user will select something after all. If ‘prompt’ is selected then a dialog will appear on the user when pressing the upload button asking for consent.
Preselected Answer#
Defaultnone
Valuesnoneyesno
Determines whether a default answer will be selected.
Consent Question for Checkbox#
DefaultBy activating this option I agree to let the website keep my personal data
Defines the question that will appear to the user next to the checkbox, or radio buttons or inside the prompt dialog. If a word starting and ending with semicolon (:) is added in the question, e.g. :link:, then it will be replaced by a link defined in ‘Consent Disclaimer Link’ attribute. This way a link to a disclaimer can be added.
Consent Disclaimer Link#
Defaultempty string
Defines a link that displays a disclaimer to the user if the user presses the relevant link that is included inside the consent question.
Themes5
Material UI Primary Color#
Default#556CD6
The Material UI theme primary color.
Only applies when materialui is on.
Material UI Text Color#
Defaultrgba(0, 0, 0, 0.87)
The Material UI theme text primary color.
Only applies when materialui is on.
Material UI Error Color#
Default#FF1744
The Material UI theme error color.
Only applies when materialui is on.
Material UI Dark Mode#
Defaultfalse
If enabled Material UI will turn to dark theme.
Only applies when materialui is on.
Colors3
Success Message Colors#
Default#006600,#EEFFEE,#006666
It defines the text, background and border color of the success message.
Warning Message Colors#
Default#F88017,#FEF2E7,#633309
It defines the text, background and border color of the warning message.
Fail Message Colors#
Default#660000,#FFEEEE,#666600
It defines the text, background and border color of the fail (error) message.
Dimensions2
Plugin Component Widths1
Plugin Component Widths#
Defaultempty string
It defines the widths of the selected plugin components.
Plugin Component Heights1
Plugin Component Heights#
Defaultempty string
It defines the heights of the selected plugin components.
Additional Fields2
Include Additional Data Fields#
Defaultfalse
If enabled, then user can send additional information together with uploaded files (e.g. name, email etc), defined in userdatalabel attribute.
Additional Data Fields#
DefaultYour message|t:text|s:left|r:0|a:0|p:inline|d:
Values[object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object][object Object]
It defines the labels of the additional data fields and whether they are required or not.
Only applies when userdata is on.
Interoperability35
Connection With Other Plugins7
WP Filebase Plugin Connection#
Defaultfalse
If enabled then the WP Filebase Plugin will be informed about new file uploads.
Add Uploaded Files to NextGEN GalleryNextGEN Gallery Uploads#
Defaultfalse
If enabled then the uploaded files will be added to a NextGEN Gallery.
NGG Gallery IDNextGEN Gallery Uploads#
Default1
It defines the ID of the NextGEN Gallery where uploaded files will be added.
Only applies when nextgen is on.
NGG File DescriptionNextGEN Gallery Uploads#
Defaultempty string
It defines the description of the file added to NextGEN Gallery.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Only applies when nextgen is on.
NGG File Alt TextNextGEN Gallery Uploads#
Defaultempty string
It defines the alt/title text of the file added to NextGEN Gallery.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Only applies when nextgen is on.
NGG File TagsNextGEN Gallery Uploads#
Defaultempty string
It defines a comma-separated list of tags for the file added to NextGEN Gallery.
Accepts%userdataXXX%
Only applies when nextgen is on.
Connection With Other WordPress Features4
Add Uploaded Files To Media#
Defaultfalse
If enabled then the uploaded files will be added to the Media library of your WordPress website. Please note that the upload path must be inside the wp-content/uploads directory (which is the default upload path).
Attach Uploaded Files To Post#
Defaultfalse
If enabled then the uploaded files will be added to the current post as attachments. Please note that the upload path must be inside the wp-content/uploads directory (which is the default upload path).
Show Image Gallery Below PluginPro#
Defaultfalse
If enabled then an image gallery will be shown below the plugin, showing all images attached to the page. If you want an uploaded image to be shown in the gallery upon upload, then use postlink="true" to attach it to the page and forceclassic="true" in order to force the page to reload every time a file is uploaded (so that the gallery is refreshed).
Image Gallery OptionsPro#
Defaultempty string
These are the gallery options in the form option1="value1" option2="value2". For details about the available options please visit https://developer.wordpress.org/reference/functions/gallery_shortcode/.
Only applies when gallery is on.
Connection With Cloud Services24
Upload To Amazon S3Amazon S3 Uploads#
Defaultfalse
If enabled then the uploaded files will be transferred to the Amazon S3 account that has been configured in the plugin’s settings.
Amazon S3 BucketAmazon S3 Uploads#
Defaultempty string
It defines the Amazon S3 bucket that the uploaded file will be transferred. It must be an existing bucket and have public access enabled. This attribute accepts variables.
Accepts%userdataXXX%
Only applies when amazons3 is on.
Amazon S3 PathAmazon S3 Uploads#
Defaultempty string
It defines the path inside the Amazon S3 bucket that the uploaded file will be transferred. If the path does not exist it will be created. This attribute accepts variables, just like the uploadpath attribute.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Only applies when amazons3 is on.
File AccessAmazon S3 Uploads#
Defaultprivate
Valuesprivatepublic
It defines whether the trasferred file to Amazon S3 will be private (accessible only by the owner) or public (accessible for view by everyone). Default value is private. Please note that file sharing is affected by this option.
Only applies when amazons3 is on.
Include UserdataAmazon S3 Uploads#
Defaultfalse
If it is enabled then the uploaded file’s userdata will be included in the transferred Amazon S3 file metadata.
Only applies when amazons3 is on.
Local File ActionAmazon S3 Uploads#
Defaultkeep
Valueskeepdelete
It defines whether to keep or delete the local file stored in the website, after it has been transferred to the Amazon S3 account.
Only applies when amazons3 is on.
Upload To DropboxDropbox Uploads#
Defaultfalse
If enabled then the uploaded files will be transferred to the Dropbox account that has been configured in the plugin’s settings.
Dropbox PathDropbox Uploads#
Defaultempty string
It defines the path inside the Dropbox account that the uploaded file will be transferred. If the path does not exist it will be created. This attribute accepts variables, just like the uploadpath attribute.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Only applies when dropbox is on.
Duplicates PolicyDropbox Uploads#
Defaultautorename
Valuesautorenameoverwrite
It defines whether duplicates uploaded to Dropbox will be auto-renamed or will overwrite the existing files.
Only applies when dropbox is on.
Local File ActionDropbox Uploads#
Defaultkeep
Valueskeepdelete
It defines whether to keep or delete the local file stored in the website, after it has been transferred to the Dropbox account.
Only applies when dropbox is on.
Upload To Google DriveGoogle Drive Uploads#
Defaultfalse
If enabled then the uploaded files will be transferred to the Google Drive account that has been configured in the plugin’s settings.
Google Drive PathGoogle Drive Uploads#
Defaultempty string
It defines the path inside the Google Drive account that the uploaded file will be transferred. If the path does not exist it will be created. This attribute accepts variables, just like the uploadpath attribute.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Only applies when gdrive is on.
Include UserdataGoogle Drive Uploads#
Defaultfalse
If it is enabled then the uploaded file’s userdata will be included in the transferred Google Drive file description.
Only applies when gdrive is on.
Local File ActionGoogle Drive Uploads#
Defaultkeep
Valueskeepdelete
It defines whether to keep or delete the local file stored in the website, after it has been transferred to the Google Drive account.
Only applies when gdrive is on.
Trash DuplicatesGoogle Drive Uploads#
Defaultfalse
If it is enabled then any files with identical names in Google Drive destination folder will be trashed.
Only applies when gdrive is on.
Upload To Microsoft OneDriveMicrosoft OneDrive Uploads#
Defaultfalse
If enabled then the uploaded files will be transferred to the Microsoft OneDrive account that has been configured in the plugin’s settings.
OneDrive PathMicrosoft OneDrive Uploads#
Defaultempty string
It defines the path inside the Microsoft OneDrive account that the uploaded file will be transferred. If the path does not exist it will be created. This attribute accepts variables, just like the uploadpath attribute.
Accepts%userid%%username%%blogid%%pageid%%pagetitle%%userdataXXX%
Only applies when onedrive is on.
Include UserdataMicrosoft OneDrive Uploads#
Defaultfalse
If it is enabled then the uploaded file’s userdata will be included in the transferred Microsoft OneDrive file description.
Only applies when onedrive is on.
Webcam13
Enable Webcam#
Defaultfalse
This enables capturing of video or still pictures from the computer’s webcam. It is not supported by all browsers yet.
Allow File Selection#
Defaultfalse
When webcam mode is enabled, the user can only capture video or images from the webcam. If this attribute is enabled, the user can also select an image file using the Select File button. The selected file will be previewed in the capture box.
Only applies when webcam is on.
Capture Mode#
Defaultcapture video
Valuescapture videotake photosboth
It defines the webcam capture mode. The webcam can either capture video, still photos or both.
Only applies when webcam is on.
Capture Audio#
Defaultfalse
It defines whether audio will be captured together with video from the webcam.
Only applies when webcam is on.
Video Width#
Defaultempty string
It requests a preferable video width for the webcam. The plugin will try to match this setting as close as possible depending on webcam capabilities.
Only applies when webcam is on.
Video Height#
Defaultempty string
It requests a preferable video height for the webcam. The plugin will try to match this setting as close as possible depending on webcam capabilities.
Only applies when webcam is on.
Video Aspect Ratio#
Defaultempty string
It requests a preferable video aspect ratio for the webcam. The plugin will try to match this setting as close as possible depending on webcam capabilities.
Only applies when webcam is on.
Video Frame Rate#
Defaultempty string
It requests a preferable video frame rate for video recording. The plugin will try to match this setting as close as possible depending on webcam capabilities.
Only applies when webcam is on.
Camera Facing Mode#
Defaultany
Valuesanyfrontback
It defines if the front or back camera will be preferred (for mobile devices with 2 cameras). The plugin will try to match this setting depending on webcam capabilities.
Only applies when webcam is on.
Start Camera Off#
Defaultfalse
If enabled the camera will initially be off.
Only applies when webcam is on.
Switch Camera Button#
Defaultfalse
If enabled a button will show up at the top-left corner of the capture box, for switching between front and back camera.
Only applies when webcam is on.
Custom CSS1
Custom CSS EditorPro#
Defaultempty string
Place here custom css to style the elements of the plugin in a more advanced way.
Nothing here matches.
Change the title above the form
[wordpress_file_upload uploadtitle="Upload files to the Upload dir"]
Upload to a specific folder
[wordpress_file_upload uploadtitle="Upload files to the Upload dir" uploadpath="uploads/myuploaddir"]
Upload outside wp-content
[wordpress_file_upload uploadid="1" uploadpath="../myuploaddir"]
Give every user their own folder
[wordpress_file_upload uploadpath="uploads/users/%username%" createpath="true"]
Email two people on every upload
[wordpress_file_upload uploadpath="uploads/myuploaddir" notify="true" notifyrecipients="name1@address1.com, name2@address2.com"]
Let the user pick a subfolder from a tree
[wordpress_file_upload uploadpath="/uploads/myuploaddir" askforsubfolders="true" subfoldertree="myuploaddir/My Upload Directory,*subfolder1/Subfolder1 Inside myuploaddir,**inner/2nd Level Nested Dir, *reports/Reports"]
Ask for a name and an email, and put them in the notification
[wordpress_file_upload uploadpath="uploads/myuploaddir" notify="true" notifyrecipients="name1@address1.com, name2@address2.com" notifymessage="File %filename% has been received, together with fields Name:%userdata0%, Email:%userdata1%" userdata="true" userdatalabel="Name/*Email (required)"]
uploadpathnotifynotifyrecipientsnotifymessageuserdatauserdatalabel%filename%%userdata0%%userdata1%
Send the notification as HTML
[wordpress_file_upload uploadpath="uploads/myuploaddir" notify="true" notifyrecipients="name1@address1.com, name2@address2.com" notifymessage="This is a test HTML message body.<br/><br/>This word is <em>italic</em> and this is <strong>bold</strong>." notifyheaders="Content-type: text/html"]
Everything at once — per-user folder, notification with attachment, subfolder tree and a custom layout
[wordpress_file_upload uploadrole="all" uploadpath="/uploads/filebase/%username%" createpath="false" notify="true" notifyrecipients="myname@domain.com" notifysubject="A new file has been uploaded!" attachfile="true" askforsubfolders="true" subfoldertree="admin/Administrator,*root/Root Folder,**inner, *reports/Reports" filebaselink="true" widths="filename:150px, selectbutton:80px, uploadbutton:80px, progressbar:220px, message:368px, subfolders_label:100px, subfolders_select:125px" placements="title/filename+subfolders/selectbutton+uploadbutton+progressbar/message"]
uploadroleuploadpathcreatepathnotifynotifyrecipientsnotifysubjectattachfileaskforsubfolderssubfoldertreefilebaselinkwidthsplacements%username%
Nothing here matches.
Current user3
%userid%#
The numeric id of the user who is logged in when the file is uploaded.
Works inuploadpathvideonameimagenamengg_descriptionngg_alttextamazons3pathdropboxpathgdrivepathonedrivepath
%username%#
The username of the user who is logged in when the file is uploaded.
Works inuploadpathredirectlinkvideonameimagenamenotifysubjectnotifymessagemessengertextmessengeruploaddetailsngg_descriptionngg_alttextamazons3pathdropboxpathgdrivepathonedrivepath
%useremail%#
The email address of the user who is logged in when the file is uploaded.
Works innotifyrecipientsnotifysubjectnotifymessagemessengertextmessengeruploaddetails
The upload4
%filename%#
The name of the uploaded file, without any path.
Works inredirectlinksuccessmessagewarningmessageerrormessagewaitmessagenotifysubjectnotifymessagemessengertextmessengeruploaddetails
%filepath%#
The full path and filename of the uploaded file.
Works insuccessmessagewarningmessageerrormessagewaitmessagenotifysubjectnotifymessagemessengertextmessengeruploaddetails
%userdataXXX%#
What the user typed into the additional field numbered XXX, counting from 0 — so %userdata0% is the first field. Requires userdata set to true.
Works inuploadpathvideonameimagenamenotifyrecipientsnotifysubjectnotifymessagemessengertextmessengeruploaddetailsngg_descriptionngg_alttextngg_tagsamazons3bucketamazons3pathdropboxpathgdrivepathonedrivepath
Where it came from3
%blogid%#
The blog_id of the site the file was uploaded from.
Works inuploadpathvideonameimagenamenotifysubjectnotifymessagemessengertextmessengeruploaddetailsngg_descriptionngg_alttextamazons3pathdropboxpathgdrivepathonedrivepath
%pageid%#
The id of the page or post holding the upload form.
Works inuploadpathvideonameimagenamenotifysubjectnotifymessagemessengertextmessengeruploaddetailsngg_descriptionngg_alttextamazons3pathdropboxpathgdrivepathonedrivepath
%pagetitle%#
The title of the page or post holding the upload form.
Works inuploadpathvideonameimagenamenotifysubjectnotifymessagemessengertextmessengeruploaddetailsngg_descriptionngg_alttextamazons3pathdropboxpathgdrivepathonedrivepath
Literal4
%n%#
A line break. It exists because a literal n cannot be typed inside a shortcode.
Works innotifyrecipientsnotifyheadersnotifymessagemessengertextmessengeruploaddetails
%dq%#
A double quote — shortcodes cannot contain one directly.
Works innotifyrecipientsnotifyheadersnotifysubjectnotifymessagemessengertextmessengeruploaddetails
%brl%#
An opening square bracket, [.
The plugin source does not record where these two work. Use them in attributes that take free text.
%brr%#
A closing square bracket, ].
The plugin source does not record where these two work. Use them in attributes that take free text.
Nothing here matches.
