Skip Navigation

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

This support ticket is created 2 years, 9 months ago. 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.

Our next available supporter will start replying to tickets in about 1.88 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 2 years, 9 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#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?
hidden link

#2309627

Christopher Amirian
Supporter

Languages: English (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.