I am building a simple contact form (non-admin) that has an attachment field. Of course I can just handle the upload via WP's wp_handle_upload function. However, I would like to give my visitors a more user friendly experience and manage the upload via wp's media upload "pop-up". Offering them upload progress feedback, drag'n drop etc. I know that this is normally admin only but is there a way to use this upload dialog for normal (non-registered, non-logged in) users?

I'm quite amazed that apparently no one really did this (after quite some searching).


  • What have you done so far yourself? Dec 11, 2013 at 9:48
  • I've tried it with the normal approach (wp_enqueue_media(), add jquery etc). This doesn't seem to work though. I figure its a rights / include issue. Dec 11, 2013 at 10:32

1 Answer 1


Disclaimer: I guess it's not a real answer and has way to much outside links, but it just won't fit into the comment format. So this can be considered to be just for information purposes.

I guess this

uses about what you've already tried.

But there are possibilities, so you might just have to read a little bit more

For additional sources take a look at

This might be interesting too

  • Thanx for the lengthy response! Most of your resources refer to the normal wp-admin case though. However, the last link looks promising! In any case it looks like I need to work on my googely skills... :) Dec 11, 2013 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.