Tell us what you are trying to do? I have a custom post and I have created a custom role for it and it's working fine with the role being able to edit.. I have the option of adding multiple authors to the same post and I'd like to be able to allow the guest author to be able to edit the post as well? But I am confused that just by adding the user as a guest author on a post, I don't think I change the user's role.. but am I creating an association of that post with the user? It doesn't seem to be working but I don't know if I am missing something or trying something that's not possible.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site? hidden link
Hello,
There isn't such kind of built-in feature within Toolset or WordPress.
In WordPress, one post can have only one post author.
There is a workaround, in your case, it needs to setup many-to-many relationship between posts and WP users, but Toolset relationships are based on post types.
So you can try to setup a intermediate post type "Members", use it to setup the many-to-many relationship between posts and "Members". For example, your custom post type is "my-cpt":
1) Create a post type "Members", each wordpress user can have only one "Members" post, "Members" post author is different users.
https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/
section "How do I prevent users from creating more than one Contractor post?"
2) Setup many-to-many relationship between "my-cpt" and "Members", connect "Members" post with other "my-cpt" posts
https://toolset.com/documentation/post-relationships/how-to-set-up-post-relationships-using-toolset/
3) In a single "Members" post, display a post view:
- Query "my-cpt" posts
- Filter by relationship between "my-cpt" and "Members"
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items
- Display a Toolset edit form link for editing "my-cpt" post
More help:
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/
My issue is resolved now. Thank you!
Thanks for updating me about the fact that maybe it's not possible out of the box..:-).. the workaround seems alright but I'll try it at another time. For now I'll move to other tasks.
Thanks again Luo Yang..:-)..
Have a nice day..:-)..
Regards,
Alim