Passer la navigation

[Résolu] [cred_delete_post_link] cred_referrer_form_id parameter appended after fragment

This support ticket is created Il y a 2 years, 9 months. 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 – 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 -

Fuseau horaire du supporter : Asia/Karachi (GMT+05:00)

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Waqar Il y a 2 years, 9 months.

Assisté par: Waqar.

Auteur
Publications
#2629397

The shortcode:

[cred_delete_post_link action='delete' class='cred-refresh-after-delete']Remove[/cred_delete_post_link]

When added to the page:

lien caché

Redirects to:

lien caché

It should redirect to:

lien caché

#2629885

Hi,

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

In my tests, the if 'cred-delete-post' shortcode is used, it doesn't add any extra URL parameter and maintains the current URL as it is:
( ref: https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred-delete-post )


[cred-delete-post type="link" onsuccess="self" action="delete"]Remove[/cred-delete-post]

You can replace the 'cred_delete_post_link' shortcode with the 'cred-delete-post' shortcode.

regards,
Waqar

#2629955

Thank you!