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

I have used Pie Register plugin to add a "Phone" field.

I tried every method in the book (that google fetched for me, so far) to show it but it shows an empty array although the field is not empty and the wordpress backend shows it.

Also, User Meta plugin is able to show the field with its data but I can't get it to show manually in my header file.

Any help is appreciated, I spent hours without any luck doing this! Thanks

share|improve this question
up vote 0 down vote accepted

Try this code:

echo get_user_meta( get_current_user_id(), 'phone', true );

And pay attantion about that plugin. The plugin is not using any prefixes, so when you'll create a custom filed with same name as any WordPress user_meta, it will override this one.

share|improve this answer
You're awesome! It worked!!! Thank you so much!!! – Claudio Delgado Feb 2 '13 at 12:34

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.