Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

A theme is in development that echo's fields from the users account on their themed account page. This is the standard format.

<?php echo  $current_user->user_lastname;?>

Thats all well and good. But there are 13 additional fields added via the plugin register plus. How do we echo them? This for example does not work.

<?php echo  $current_user->user_post_code;?>

Any help appreciated, marvellous.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Hi @Robin I Knight:

Have you tried this?

<?php echo get_user_meta($current_user->ID,'user_post_code',true);?>
share|improve this answer
    
Ive been a dammed fool and not entered any info on those fields. Utter whit nit. Sorry –  Robin I Knight Feb 16 '11 at 15:57
    
@Robin I Knight - So did my answer address your question? If yes, please vote up and accept otherwise future people finding this answer won't know if it solves the question or not. If it did not answer, please elaborate so, again, future readers will be helped by our collective efforts. –  MikeSchinkel Feb 16 '11 at 16:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.