- Code: Select all
<?php echo get_user_field('Contact_Number', $author); ?>
<?php echo get_user_field('Contact_Number', get_the_author_meta( 'ID' )); ?>
"Contact_Number" is a Custom Field I made to hold a telephone number.
I made that in 'General Options', 'Registration/Profile Fields and Options' and then 'Add new Field'
Admin, please correct if wrong but this worked OK for me.