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!

1 Answer 1


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

  • The problem is that I want to add an input field.. I know how to add links and menus...
    – Arg Geo
    Commented Jun 4, 2012 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
    Commented Jun 4, 2012 at 2:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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