If I want to display the data, I write:
<?php echo $ color = types_render_field ("client-color ', array (' raw '=>' true '));?></ code>
I think this also should work to get the "featured image" link.
[php]<?php echo $ color = types_render_field ("wpv-mail-featured-image ', array (' raw '=>' true '));?>
I know how I can get the desired results with this code:
<?php echo do_shortcode ('[wpv-mail-featured-image'] ');?>
Can anyone help me here?
Thank you for an awesome powerful tool!
Dear Kristoffer,
Im not sure where you got the shortcode from, the real name is wpv-post-featured-image. Use it like this:
<?php echo do_shortcode ('[wpv-post-featured-image'] ');?>
The types_render_field function wont work for standard post fields, only custom field. The corresponding WordPress function is the_post_thumbnail():
http://codex.wordpress.org/Function_Reference/the_post_thumbnail
Please let me know if there is anything else that I can assist you with.
Regards,
Caridad
Hi CaridadZ,
my fault. I meant "post" of course. You answered my question!
Thank you,
Kristoffer