WordPress.org

Support

Support » Plugins and Hacks » Toolset Types » [Plugin: Types – Custom Fields and Custom Post Types Management] Custom Field for Images is not disp

[Plugin: Types – Custom Fields and Custom Post Types Management] Custom Field for Images is not disp

  • Hi,

    I’ve created a custom field to upload an image and I’ve used the following code to display it.

    <?php echo(types_render_field("image_1", array("alt"=>"Product image",
          "width"=>"209","height"=>"298","proportional"=>"true"))); ?>

    Nothing is displaying tho… Am i doing something wrong?

    http://wordpress.org/extend/plugins/types/

Viewing 1 replies (of 1 total)
  • I’ve found that this it has something to do with the following code above it

    <?php $pic_of_week = rg_get_social_pic_of_the_week();
    						$url = get_post_meta($pic_of_week['id'], 'social_pic_facebook_url', true);
    					?>

    Once I remove the code, the image appears… If I place it above the code, it appears but not below the code. Any reason why this could be happening?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] Custom Field for Images is not disp’ is closed to new replies.
Skip to toolbar