Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-13T09:01:16-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15526 2011-10-13T09:01:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15526&p=46790#p46790 <![CDATA[Re: How to add custom fields to an Author page]]> Statistics: Posted by Eduan — October 13th, 2011, 9:01 am


]]>
2011-10-13T08:58:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15526&p=46788#p46788 <![CDATA[How to add custom fields to an Author page]]>
Code:
<?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.

Statistics: Posted by Sim2K — October 13th, 2011, 8:58 am


]]>