Skip Navigation

[Resolved] unable to delete a post from front end

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to delete his posts using the front end.
Solution:

This requires that you add the CRED delete link to the post on the front end.

To do this edit the content template assigned to the post and the click on the CRED form button. Finally just insert the delete link and this should allow you to delete the posts from the front end.

This support ticket is created 6 years, 8 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by ericW-5 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#628745

Hi,

I am building a job site where recruiters post jobs. I would need them to be able to delete their job offers if they want to.

role : Employeur v1
CPT to delete : their own job offers called "offres d'emploi"

I tried to set up a way for them to edit these CPT but I can't see how they can delete them if needed.

Thanks in advance
Eric

#628928

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Eric,

To allow them to delete the post you need to add this to your content template.

[cred_delete_post_link action="trash" text="Delete %TITLE%" message="Souhaitez vous vraiment supprimer cette publication ?" message_show="1"]

This button can be found by going to the CRED form button and then inserting the delete publication shortcode.

Please let me know if this helps.
Thanks,
Shane

#629017

All solved
Thanks