• Hello all –
    I have a blog for my podcast and would like to have two or more different author types. For example, I would like to have the post list all of the people who spoke on the podcast (SPEAKERS), as well as the person who wrote the show notes (WRITER). In one place I would like to have “written by: writer name.” In another place, I’d like to have, “participants on episode: list of speaker names.” Maybe with their pictures and social media links.

    Ideally, the names would also be clickable and show a list of all the other posts that person was involved in. Is there any easy way to accomplish this?

    The co-authors plugin offers a very similar functionality, but doesn’t allow me to differentiate between speakers and writers.

    Thanks!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Probably the easiest way to do this is make use of custom fields. You can save the requisite data under any arbitrary field name, but you do need to be consistent from post to post. If the data is to include images and social links, the data needs to be structured consistently. If the users adding posts cannot be relied upon to be rigidly consistent, it’d be better to use a custom meta box that is more user friendly. Coding custom meta boxes are much more involved though.

    Once the data is saved with the post, it needs to be output. This is done by customizing your theme templates. Custom templates are best saved in a child theme. You output custom field data with something like:
    echo get_post_meta( get_the_ID(), 'my_custom_field_name', true );

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple author types (eg. writer and editor)’ is closed to new replies.