[Closed] how to use types_get_field_meta_value with sized images
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I was not able to use "types_render_field". I have to use "types_get_field_meta_value" so based off of that info is there any additional parameters I can send through "types_get_field_meta_value" in order to get the image sized?
I tried using "types_render_field" but it would not work. the call is inside a shortcode function. When I swtiched to this "types_get_field_meta_value" it worked. I would like to use the first option if possible
In order for the types_render_field function to work it must be placed directly in the page template itself and not wrapped within a shortcode.
Example.
Add this function types_render_field to the page.php file and it would be able to render a custom field from any page that uses the page.php file.
Please let me know if this helps.
Thanks
The topic ‘[Closed] how to use types_get_field_meta_value with sized images’ is closed to new replies.