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.

In my wordpress backend, is there a way to change the author metabox to display a custom field instead of the user's display_name or username? For example, all our users have a custom field 'Organization' which shows their company name. I want this to be displayed in the Author dropdown box on the post.php page instead of the normal id or username. This is to make it easier for our client's web admins to find users(aka companies) faster when creating new posts. Possible? We used CIMY Extra User Fields for the additional fields.

Any help would be great.

share|improve this question
    
So every author has an Organization set? Do you know if the CIMY plugin just adds the Organization to the user's meta info? –  Pat J Sep 16 '13 at 19:38
    
Pat, I'm assuming CIMY adds it to the meta info, but not sure if it adds it the same way as the regular meta info (ie: website/jabber/etc). Normally we have to call it differently than normal meta data for users. –  Aaron Sep 17 '13 at 13:56
    
Can you add a sample of the code you need to use to call user meta into your question? –  Pat J Sep 18 '13 at 19:13
    
Normally it can be called by this: ` return get_cimyFieldValue($id, 'fieldname'); ` –  Aaron Sep 19 '13 at 0:24
    
Update. Ok, i found this: [wordpress.stackexchange.com/questions/50827/… answer, which does give me the custom field (with some hacking), but now it doesn't save the value that i choose, but reverts back to the original author.... how do i save the value selected?? –  Aaron Sep 19 '13 at 2:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.