Navigation überspringen

[Gelöst] How do I display a Spotify embed?

This support ticket is created vor 1 Monat, 3 Wochen. 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
- 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)

Dieses Thema enthält 1 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von marF vor 1 Monat, 3 Wochen.

Assistiert von: Minesh.

Author
Artikel
#2805435

Hi!
I'm trying to display a spotify embed from a url or with an iframe, as you can see here: versteckter 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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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:
- versteckter Link

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

Created the custom post type "Book" and added following post:
- versteckter Link

Created the content template to display single book post:
- versteckter Link

You can see its displayed on frontend:
- versteckter Link

#2806213

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