Display Frontend Upload - [feuGT_show]
You can show the Frontend Upload form by inserting
[feuGT_show] short code in any WordPress page.
Accepts 2 optional parameter:
- upload_to(number or string =”current”) – If you wish to attach all the files uploaded on the current displayed to a specific page/post/custom post.
[feuGT_show upload_to=723]– All files uploaded from this button will be attached to post 723.
[feuGT_show upload_to=current]– All files uploaded from this button will be attached to current post/page/custom post.
- logged_in_only(boolean) – If you wish to display the uploader only to logged in users.
[feuGT_show logged_in_only=true]– The uploader will only be displayed to logged in users.
Display Attachments - [feuGT_show_attachments]
You can show uploaded files by inserting
[feuGT_show_attachments] short code in any WordPress page.
You can add extra parameters to this shortcode:
Show files connected to a post. Example
[feuGT_show_attachments typetoget=all] – Shows files uploaded to Frontend Upload Custom Post Type, Attachments.
[feuGT_show_attachments typetoget=cpt] – Shows files uploaded to Frontend Upload Custom Post Type.
[feuGT_show_attachments typetoget=attachment] – Shows files uploaded to WordPress Media.
Shows files limited by this value.
[feuGT_show_attachments count=10] – Get the latest 10 uploaded files using Frontend Upload Plugin.
Decides if it’s displayed to logged in users or to everyone. Default = false.
[feuGT_show_attachments logged_in_only=true] – Displays only to logged in users.