I am trying to an add upload media option for the user profile.Which i was achieved with the help of This Link

By adding the code given in the above link on my theme's functions.php i am able to see the extra added field on user profile section once i logged in with admin screen.

What I want is :I want to show the upload media option for the front-end user to add their video.


Use CMB2 library for Custom Field



It is not a good idea to try to integrate wp-admin components to the front end of your site, It is easier, more reliable and more maintanable to simply create an upload form for the frontend of the site.

In fact, as soon as I googled it I found there is already a plugin to do exactly that. It looks to have solid ratings, many active installs and actively maintained.

Im sure extending this plugin to display a video the user uploaded to the site wouldn't be too much of an issue.

  • Thanks Ben for your quick reply.But here in my website their is front end from for user that front-end from already have some fields and i want to add this upload video field with this existing fields. Mar 9 '17 at 8:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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