Support

Account

Home Forums Front-end Issues make only media gallery available in file upload

Unread

make only media gallery available in file upload

  • I have build a field group on a frontend page containing (among others) an “add File” field.

    (...)
    acf_form(array(
    'field_groups' => [49042],
    // 'label_placement' => 'left',
    'uploader' => 'wp',
    'post_id' => 'new_post',
    (...)

    As you can see, i am using the ‘wp’-uploader, which opends the native upload dialog from wordpress.
    Now, i want to restrict the user only to use the media gallery. No file upload whatsoever. i was able to hide the upload-file tab in the top left corner. But i still have to select the media gallery tab in order to display the content of the media gallery. Is there a smarter way to achieve this?
    Thank in advance for any hints.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.