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.

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.