Skip Navigation

[Resolved] Delete post link in form and view

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

Problem:

The issue here is that the user wanted to add a delete link for their posts in a view.

Solution:

To do this I would recommend having a look at my post below.
https://toolset.com/forums/topic/delete-post-link-in-form-and-view/#post-1318103

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

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by leilaG 5 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1318005

Hi, What would be the code to add to a view to delete post? Does this also have to be in the edit post form and what would be the code to add in the form?

#1318103

Shane
Supporter

Languages: English (English )

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

Screenshot 2019-08-16 at 2.59.07 PM.png

Hi Leila ,

Thank you for getting in touch.

If you go to your view and click on the Toolset Forms button you should see the option for adding the delete post link. See Screenshot

Please let me know if this helps.
Thanks,
Shane

#1318129

Perfect! Just what we needed. Thank you!