• I think I made it too complicated in previous post, so here is a simple way to put it.

    I can display single user info, including their custom profile field on a page, using the loop without the problem:
    <?php if (get_the_author_meta( 'agenttitle')): ?><?php the_author_meta( 'agenttitle' ); ?><?php endif;?>

    How to do it using function (listing all users)?

  • The topic ‘Display custom profile field through the function?’ is closed to new replies.