Saltar navegación

[Resuelto] How do I display a Spotify embed?

This support ticket is created hace 3 meses, 3 semanas. 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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por marF hace 3 meses, 3 semanas.

Asistido por: Minesh.

Autor
Mensajes
#2805435

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

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
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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:
- enlace oculto

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

Created the custom post type "Book" and added following post:
- enlace oculto

Created the content template to display single book post:
- enlace oculto

You can see its displayed on frontend:
- enlace oculto

#2806213

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