Skip Navigation

[Resolved] How do I display a Spotify embed?

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by marF 1 month ago.

Assisted by: Minesh.

Author
Posts
#2805435

Hi!
I'm trying to display a spotify embed from a url or with an iframe, as you can see here: hidden link

The default Spotify blog in WordPress is not useful to me because it does not display dynamic content...

How can I do it?
Thanks!

#2805638

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

You can add the embed type custom field.
=> https://toolset.com/documentation/customizing-sites-using-php/functions/#embedded-media

And then you can either use single field block or types shortcode to display the embed.

Please check the following sandbox site and you can auto-login to it using the following link:
- hidden link

You can see I've created the following custom field group where I've added the embed custom field "embed-url":
- hidden link

Created the custom post type "Book" and added following post:
- hidden link

Created the content template to display single book post:
- hidden link

You can see its displayed on frontend:
- hidden link

#2806213

Works fine! Very well explained! Thank you very much Minesh!