Skip Navigation

[Resolved] How to edit posts with status draft on the front end?

This support ticket is created 4 years, 6 months 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 2 voices.

Last updated by JosV9233 4 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1609565

Tell us what you are trying to do? Change a post from status draft to published on the front end.

Is there any documentation that you are following? This post: is it possible to use cred to change the post status on the front end ?

How do you get to posts with draft status on the front end?

#1610247

Hello,

It is possible with Toolset Forms plugin, you can create a post form for editing post, in section "Settings", option "Set this post status" choose "Published", so after user submit this edit post form, it will change post status to what you want.

#1610257

Hello,
When the user submits this form status is pending. As an administrator I cannot reach pending posts on the frontside and will have to go on the backside. Then it is no use to have this system as I cannot use it from the front.

Or am I missing something?

#1610329

For example, you can try these:
1) Create a post form for editing post, in section "Settings", option "Set this post status" choose "Published".

2) Create a content template, display above edit post form.

3) Create a page, display below post view

4) Create a post view:
- Query posts
- Filter by:
Select posts with status of pending.
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-post-status/
- In view's loop, display the below edit post form link
https://toolset.com/documentation/getting-started-with-toolset/publish-content-from-the-front-end/forms-for-editing/

Test the page of step 3) in front-end, you should be able to see the pending post list, and edit form links.

#1610331

Thanks Luo, I will give this a try and let you know.

#1610351

OK, please update here if you need more assistance for it, thanks

#1624573

Hello Luo,
I have the following problem with above routine.When I look at the submitted form and submit them again their status is published. But they do not show the normal. They should be at the top of the list when you visit the site, but they are not. Only after I click reset they appear. What is happening here?