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 added a field named "Current Status" in the user profile where the users fill their information e.g. E-mail, Website etc. How can I make this field displayed only for authors and also display it in the admin/author bar so they can update it without going to profile area? Thanks in advance!

share|improve this question

You can use get_currentuserinfo() to find out a user's role. To modify the wordpress admin bar, use the admin bar render hook.

share|improve this answer
The problem is that I want to add an input field.. I know how to add links and menus... – Arg Geo Jun 4 '12 at 0:02
What if you use similar code to this and instead of having an HTML address, have a JavaScript pseudo protocol that calls something similar to a lightbox (without fading the background). – fdsa Jun 4 '12 at 2:14

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.