Skip Navigation

[Resolved] using [embed] function with Layout plugin

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

This topic contains 4 replies, has 2 voices.

Last updated by Junichiro Taira 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#901993
img.jpg

As you know WordPress has [embed] function. I can use this when I write blog posts.
Embed tag is working in normal use.

I'm now trying to use with Layout plugin.
I created post field : [types field='news_url' output='raw']

and entered this code in Layout plugin. However nothing happened.
[embed][types field='news_url' output='raw'][/types][embed]
I tried several idea. But couldn't solve it. Would you help me ?

#902102

Shane
Supporter

Languages: English (English )

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

Hello,

Thank you for contacting our support forum.

I'm assuming these links are of videos that you want to use the default embedded wordpress shortcode for correct?

Why not use our Embedded media custom field for items like these because I doubt that the wordpress [embed] shortcode can handle shortcodes within it.

Thanks,
Shane

#902111
img.jpg

It's not correct.
This short code could create this red section automatically.

#902135

Shane
Supporter

Languages: English (English )

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

Hello,

I did some reading on this and the issue is that the embed shortcode isn't compatible with non-native wordpress shortcodes.

I believe this is because the shortcode is processed on the backend the provide a preview while most other shortcodes are interpreted when they are loaded when the user views the page on the frontend.

Thanks,
Shane

#906847

Thanks.