admin管理员组文章数量:1431763
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.
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.
Share Improve this question asked Mar 9, 2017 at 7:38 Nitish PaswanNitish Paswan 1441 gold badge1 silver badge10 bronze badges2 Answers
Reset to default 1Use CMB2 library for Custom Field
https://github/WebDevStudios/CMB2/wiki/Adding-your-own-field-types
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.
本文标签: Want to Add Custom Fields for Uploading video to WordPress Users from front end
版权声明:本文标题:Want to Add Custom Fields for Uploading video to WordPress Users from front end 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745497455a2660872.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论