Support

Account

Home Forums ACF PRO get user tyle field separately Reply To: get user tyle field separately

  • I’m looking for similar info – I’d like authors to be able to select a user (so I used filed type “User”), and then I want to display the selected user’s name, and email address, and leave the rest of the array out. Something like this (if I was after the info from author, but I want to get this from selected user):
    <?php
    $author_id = get_the_author_meta( ‘first_name’);
    echo $author_id;
    $author_email = get_the_author_meta( ‘user_email’ );
    echo $author_email;
    ?>

    Any word?