Skip Navigation

[Resolved] Split: Save post as draft first. then preview it. then publish it

This support ticket is created 3 years, 9 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by michaelR-26 3 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1709235

I tried this but am having a tough time.

I already had an edit post form, so I set it Draft after posting and then show the post.

Then I made the new edit form with your instructions, my new form has this code

[credform]
[cred_field field='form_messages' class='alert alert-warning']

[cred_field field='form_submit' output='bootstrap' value='Submit' class='btn btn-primary btn-lg']
[/credform]

I took this form code and inserted into the bottom of my Custom Post Template. I tried to add this conditional around the form block.

Post Source is Current Post
Source is Post Status
Then I set to = static value and entered Draft in the box.

I save the Custom Post tempate and try to Edit the post, which works fine. But the new button to submit for review does not show on the post page where I placed it.

What could I be doing wrong. I really need to be able to preview the post prior to submit.

Thank you in advance.

#1709255
Screen Shot 2020-07-16 at 5.13.14 PM.png

Hello, I think the proper capitalization in your conditional static value should be "draft" with a lowercase "d". If this doesn't solve the problem, please enable debug mode for the conditional. In the Block Editor there is a toggle switch in the conditional block configurations (see the screenshot here). Then visit the front-end of the site and take a screenshot of the output, or copy + paste it here in your next reply. I'll review that and give you some feedback.

#1710735

My issue is resolved now. I had used the Short Codes in a Fields and Views block which was wrong. I instead inserted the form block and that worked perfectly!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.