Dropdown Choice field with all Authors to choose from in Custom Module
Aug 7, 2018 3:08 AM - edited Aug 7, 2018 3:09 AM
I am trying to get multiple people listed in any blog post as co-author or contributor.
What I am trying to do is to create a custom module with dropdown list of authors (similar to how you select Author before publishing the blog in HubSpot) ex: https://prnt.sc/kflw2s
I am using blog_authors function to list all authors and loop it through to populate the choices, but I am not having any luck with this yet. I don't want to lose all the meta-data associated with the author like author_url, avatar, etc. otherwise I would have given a simple text field to put the name.
Any suggestion regarding how I may achieve this?
Thanks in advance.