- This topic has 3 replies, 2 voices, and was last updated 5 years, 10 months ago by
Steve.
-
AuthorPosts
-
-
April 3, 2016 at 12:45 pm #6236
martinwMemberhi there,
i want to create child-data for the users.
the data should be a specific custom-post-type.
i want to be able to view all child-posts to one user in a table which is available under a workflow-tab. there i want to be able to add new child-posts to the selected user but only if one specific field of the existing child-posts is not set yet. else i should not be able to add a child-post to this user.so i read through workflow-tabs and i think i can crate this. however i have problems to create a list of posts with specific data as well as create a form to add new child-data.
Can anyone give me a hint how to pass the arguments to a child-data-form?
-
April 3, 2016 at 9:49 pm #6239
-
April 4, 2016 at 12:53 am #6241
martinwMemberah yes that’s it i need to assign a user to a post other than the author.
so i thought i have a workflow-tab for this kind of post and show all posts related to this user.
also i show a button to create a new post for this user.how can i make sure the users id gets to the new post since it is not the current-user id?
-
April 4, 2016 at 10:33 pm #6245
SteveKeymasterYou can use this tutorial to save the user ID you want.
Then you can get_posts() to display the posts for your user.
-
-
AuthorPosts
- You must be logged in to reply to this topic.