Skip Navigation

[Gelöst] are you sure promt before deleting custom post content

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
The user would like to have a confirmation message in the CRED delete links.

Solution:
You will need to use message_show='1' and then you can put your custom confirmation message in message argument and the success message in message_after.

[cred_delete_post_link text='Delete' message='Are you sure you want to delete this post?' message_after='Post deleted' message_show='1' action='trash']
This support ticket is created vor 2 Jahre, 10 Monate. There's a good chance that you are reading advice that it now obsolete.

Dies ist das technische Support-Forum für Toolset – eine Suite von Plugins zur Entwicklung von WordPress-Websites ohne PHP-Pogrammierung.

Jeder kann in diesem Forum lesen, aber nur Toolset-Kunden können darin Beiträge veröffentlichen. Der Toolset-Support arbeitet 6 Tage pro Woche, 19 Stunden pro Tag.

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: Africa/Casablanca (GMT+01:00)

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by romanF vor 2 Jahre, 10 Monate.

Assigned support staff: Jamal.

Author
Artikel
#1711023

Dear Support,

users can delete their own custom posts via front end on our page. Is there a way to ask them if they were sure to delete the post before deleting it?

#1711309

Jamal
Supporter

Languages: Englisch (English ) Französisch (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello and thank you for contacting the Toolset support.

Check the following example:

[cred_delete_post_link text='Delete' message='Are you sure you want to delete this post?' message_after='Post deleted' message_show='1' action='trash']

You will need to use message_show='1' and then you can put your custom confirmation message in message argument and the success message in message_after.

I hope this helps. Let me know if you have any questions.

#1712175

My issue is resolved now. Thank you!

Das Forum „Toolset Professioneller Support“ ist für neue Themen und Antworten geschlossen.