Navigation überspringen

[Gelöst] Including a page's featured image via a shortcode

This support ticket is created vor 3 Jahre, 5 Monaten. 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.

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Christopher Amirian vor 3 Jahre, 5 Monaten.

Assistiert von: Christopher Amirian.

Author
Artikel
#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?
versteckter Link

#2309627

Christopher Amirian
Unterstützer

Sprachen: Englisch (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.