Support

Account

Home Forums General Issues Selection – User Field – Output? Reply To: Selection – User Field – Output?

  • Hi @dillehal

    Hmm… You could try this:

    $author = get_field('report_to', $curauth);
    
    echo 
    '<a href="'
    . get_author_posts_url( $author['ID'] ).
    '">'
    .get_author_meta('display_name', $author['ID']).
    '</a>';

    For more info, check out the following links:
    https://codex.wordpress.org/Function_Reference/get_the_author_meta
    https://codex.wordpress.org/Function_Reference/get_author_posts_url