front end – Add Media Library for Frontend (no Plugin)
I would like to use the entire wordpress media library for the frontend. I want any user that views my homepage to be able to upload, manage and delete the files in the media library. I will add a site password for my homepage so that it won’t be open for everyone but the people that know the password should be able to manage the library from the frontend without beeing logged in to wordpress.
I think I need to use the
wp_enqueue_media() function but i can’t figure out how. I’ve researched this code that makes users able to upload files from the frontend … but I want users to also delete and manage them.