Page 1 of 1

How to add custom fields to an Author page

PostPosted: October 13th, 2011, 8:58 am
by Sim2K
These 2 worked for me on my Author page!

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.

Re: How to add custom fields to an Author page

PostPosted: October 13th, 2011, 9:01 am
by Eduan
Okay thanks for the info.