Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

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.

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

 
discard

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.