Skip Navigation

[Resolved] How to allow users to edit posts?

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 5 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#1394097

Hi,

I have created a post type for which I will be creating posts manually. However I want each specific post to be assigned to a user which she can edit/manage later.

I don't users to create post on their own.

For e.g. there is a vendor post type where I will create a vendor specific post and assign it to a particular user. This user can not create more vendor posts but can only manage his/her posts assigned by me.

Can you help me how to achieve this?

#1394127

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I think the best approach to achieve this is you should set post author as your particular user for the posts which you will create for vendor post type. You should activate the post author field by editing your vendor post type and checkmark the Author checkbox from "Sections to display when editing vendor" settings.

Then, you need to create the post edit for to edit the vendor entries:
=> https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

After that, you should create a view that query your vendor post type and filter your view by adding the author filter = logged-in user.
=> https://toolset.com/documentation/user-guides/filtering-views-query-by-author/

With this view's loop editor, you should add the edit form link:
=> https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/#adding-editing-link-to-views-that-list-items
OR
if you do not want to add the Edit link but form, you should add your Edit form to view's loop editor.