Toolset Types
[Plugin: Types - Custom Fields and Custom Post Types Management] Custom Field for Images is not disp (2 posts)

  1. kimmi_baby
    Posted 3 years ago #


    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?


  2. kimmi_baby
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Toolset Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.