0

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!

0

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

2
  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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