WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.