Saltar navegación

[Resuelto] Including a page's featured image via a shortcode

This support ticket is created hace 3 años, 5 meses. 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.

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Christopher Amirian hace 3 años, 5 meses.

Asistido por: Christopher Amirian.

Autor
Mensajes
#2309093

Tell us what you are trying to do?
I am trying to use a Toolset shortcode to include a page's Featured Image. When using Views on other sites I could use [wpv-post-featured-image], but on this website I am only using the latest version of Types. I assumed there was an equivalent such as [types field='post-featured-image'][/types]?

Is there any documentation that you are following?
Can't find specific documentation on this

What is the link to your site?
enlace oculto

#2309627

Christopher Amirian
Colaborador

Idiomas: Inglés (English )

Hi there,

With the Types plugin you can retrieve the custom fields that you have created with the types plugin using one of the shortcodes below depending on the custom field type that you used:

https://toolset.com/documentation/customizing-sites-using-php/functions/

But it does not allow to retrieve the native WordPress features. That is the job of the Views or the Blocks plugin.

Thank you.