Skip Navigation

[Resolved] Cred form removes embed tag

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)

Author
Posts
#2362345

Tell us what you are trying to do?
I use CRED forms to add and edit posts. Posts are custom posts by Toolset. When I add posts via cred form it saved embeded url (Youtube etc....) and post is saved with embedded content. When I edit post via cred form embed tag is removed in WYSIWYG editor.
When I edit post in backend everything works fine and I see embedded content.
I am not sure if it is Toolset issue or WYSIWYG problem.
Have you any idea on this ?

Is there any documentation that you are following?

Is there a similar example that we can see?
New post:
<p>Ahojte</p>
<p>[embed]hidden link;

Edited post:
<p>Ahojte</p>
<p></p>

What is the link to your site?

#2362555

Waqar
Supporter

Languages: English (English )

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

Hi,

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

I've performed some tests on my website with the new post and the post-edit forms and with the post content as well as the WYSIWYG type field, but couldn't reproduce this behavior.

Here is the code, that I used for this testing and the embed shortcode stayed intact, in all tests:


<p>Ahojte</p>
<p>[embed]<em><u>hidden link</u></em>;

Can you please check this again and in case the issue persists, share temporary admin login details, along with the link to the form page?

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

regards,
Waqar

#2364893

Waqar
Supporter

Languages: English (English )

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

Thank you for sharing the admin access details.

Just wanted to let you know that I'm still performing some tests on my website and will share the findings with you shortly.

Thank you for your patience.

#2364947

Hello,

I will on holidays from 18th May to 27th May without easy access to computer.
So you have a lot of time for this ticket.
Page is not live, so you can try all you need.

Thanks

#2365577

Waqar
Supporter

Languages: English (English )

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

Thank you for waiting.

The Elementor editor seems to be responsible for the processing that filters out the embed tag.

You can directly use the form's shortcode with the [wpv-search-term param='pl'] shortcode to get the target post's value from the URL parameter "pl":
( ref: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-search-term )


[cred_form form="Edit článok blogu" post="[wpv-search-term param='pl']"]

As Elementor doesn't support nested shortcodes in its widget, you can enter content in this "Edit Blog" page without the Elementor builder.

#2365637

Thanks Waqar,

I will test this way after 27th May....

Thanks for support..

#2366581

Waqar
Supporter

Languages: English (English )

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

You're very welcome and take your time.

#2372051

My issue is resolved now. Thank you!

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