Skip Navigation

[Resolved] Remove CRED Draft title

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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 1 year, 8 months ago.

Assisted by: Waqar.

Author
Posts
#2428201

When a user fills in a front end form, I would like the form to go to draft or to be reviewed by admin. I will then click published when checked. However, the content title is CRED Auto Draft and when I publish this, this is the title that is displayed on the website.

#2428765

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

When no post title is specified for a post created using a Toolset Form, an automatically generated one is used ( e.g CRED Auto Draft... ).

To avoid this, you can either include a post title field in the form, so that users can set it while adding the post or you can generate a different one, using a custom function attached to the "cred_save_data" hook:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data

You'll find an example code snippet for this, in this forum reply:
https://toolset.com/forums/topic/define-a-custom-post-title-using-information-from-the-form/#post-1214208

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

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