Support

Account

Home Forums Front-end Issues Show Custom Fields in a User Profile on Frontend Reply To: Show Custom Fields in a User Profile on Frontend

  • HI @reason8

    You can access the data from a user using:

    
    <?php
    if ( is_user_logged_in() ) :
    
    	$user_id = get_current_user_id();
    	$value = get_field( 'my_field', "user_".$user_id );
    	if($value):
    		echo $value;
    	endif;
    
    endif;
    

    You’d just need to add that in to your template