user image with Advanced Custom Fields Wordpress in frontend

0

I use ACF a lot and often for different things, among them, I want to use it as an avatar system for the user profiles of my Wordpress. The problem is that I use a custom template and I need the user to change the image from the frontend and without having access to the wordpress control panel. Someone has an idea of how it could proceed

Greetings and thanks

EDITING

I've already managed to do it with the code I've taken from here plus the function

 <?php echo get_avatar( $current_user->ID ); ?> 

Now I need to make that when the client clicks on the image, I have the option to change it. Can someone help me?

    
asked by Dario B. 10.04.2018 в 08:42
source

0 answers