Skip Navigation

[Resolved] [toolset-edit-post-link] shortcode not functioning

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 2 replies, has 2 voices.

Last updated by bruceW-3 1 year, 3 months ago.

Assisted by: Waqar.

Author
Posts
#2533215

Tell us what you are trying to do?
I'm attempting to use the [toolset-edit-post-link] shortcode to allow site users to edit a CPT on the site ("Businesses"). I had this feature working on a development site, but now can't seem to get it working on the production site. It's likely a simple setting somewhere that I've overlooked, but I can't for the life of me figure it out...

What is the link to your site?
hidden link

#2533515

Waqar
Supporter

Languages: English (English )

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

Hi,

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

Have you checked that the shortcode parameters, the edit form, and the content template are set up the same as the development website?
( ref: https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#toolset-edit-post-link )

In case the issue still persists, you're welcome to share temporary admin login details, along with the example page where the shortcode is in use.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

#2533841

This turned out to be a forehead-slapper: I had inadvertently included the "edit" CPT form in a re-usable block that I was also using for the "new" CPT form. This caused both forms to be included in only one of the content templates with the consequence that only one of the content templates was recognized as being allowed to modify the CPT.

Once I removed the "edit" CPT form from the re-usable block definition, everything returned to working normally.

Took me a while to figure that out though...

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