User info on profile page - Register Plus Redux
I need to get more user info on the author page when "listed by: user" was clicked..
Im using register plus redux and added a phone field...
open author.php and edit...this will display the phone and email
<div class="author-main">
<p>
<strong><?php _e('Member Since:','cp');?></strong> <?php echo date_i18n(get_option('date_format'), strtotime($curauth->user_registered)); ?>
<br />
<strong><?php _e('Phone:','cp'); ?></strong> <a href="<?php echo $userdata->phone; ?>"><?php echo $userdata->phone; ?></a>
<br />
<strong><?php _e('Website:','cp'); ?></strong> <a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a>
<br />
<strong><?php _e('Email:','cp'); ?></strong> <a href="<?php echo $userdata->user_email; ?>"><?php echo $userdata->user_email; ?></a>
<br />
<br />
<strong><FONT COLOR="#CC0000"><?php _e('Company Info:','cp'); ?> </strong></FONT> <?php echo $curauth->user_description; ?>
</p>
Last edited by pepsi; February 7th, 2011 at 08:02 PM.