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?
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.
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?
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.
Thanks Luo, I will give this a try and let you know.
OK, please update here if you need more assistance for it, thanks
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?