Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify multiple authors? #6

Open
timotk opened this issue Aug 17, 2023 · 3 comments
Open

How to specify multiple authors? #6

timotk opened this issue Aug 17, 2023 · 3 comments

Comments

@timotk
Copy link
Contributor

timotk commented Aug 17, 2023

  • Multiple authors is possible in Wordpress
  • When downloading an existing post with multiple authors to markdown, there is only one author in the markdown frontmatter.
  • How can we specify multiple authors in markdown?
@mvanholsteijn
Copy link
Member

Multiple authors is not yet supported. I will fix that when I get back for holiday

@Roymprog
Copy link

Roymprog commented Nov 4, 2024

I was looking into adding this as I wanted to add a multi-author blog to the xebia-blog repo.
For multiple authors you need to get the id for multiple users, see this code. I'm not allowed to because listing users is only allowed as Administrator.
I tried to work around it by manually providing the user id. However, wordpress does not support multiple authors by default. We are using the Co-Authors-Plus plugin to enable multi-author. This means we cannot create/update a blog post with multiple authors via the Wordpress REST API.
AFAIK, the plugin also doesn't support creating/updating a post with multiple authors either.

@mvanholsteijn
Copy link
Member

mvanholsteijn commented Nov 4, 2024

@Roymprog yes I reached that conclusion as well. Wordpress is an insanely popular and inept system..

You would need to make PR on the Co-Authors-Plus plugin to support multiple authors.

To complicate matters, the coauthor user id is not the user id of the user in WP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants