Support

Account

Home Forums General Issues Display custom user field Reply To: Display custom user field

  • Hi @codynew

    In order to display a user value on the frontend, you will need to identify the user_id and then pass this as a second parameter to the_field() function.

    You can use the following code:

    <?php 
     $user_ID = get_current_user_id(); 
    the_field('user_facebook', 'user_'. $user_ID);
    
    ?>