I need the user to be able to update his avatar from a custom page-template, before he's able to do something else.

I was beginning to implement a simple media_handle_upload() form, when I realized that my theme already had BuddyPress installed and it's avatar selector+cropper is quite better than what I could do.

Is there any way to replicate/call the form "change avatar" from the member's profile in a custom page-template?

The template for the BP's form is available on bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php*

Your Answer

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

Browse other questions tagged or ask your own question.