• David Gard

    (@duck_boy)


    Hey all,

    I am trying to display a thumbnail attached to another post (there is one post for a particular type of printer, this has the thumbnail attached, and then multiple posts for occurances of this printer.)

    I am using this code –
    if(function_exists('add_theme_support')) get_the_post_thumbnail($thumb_id, array(250,9999), array('class' => ' alignleft'));
    – but coming up with nothing.

    $thumb_id is 100% holding the correct post ID.

    Is any body able to help at all?

    Thanks.

  • The topic ‘Can’t get “get_the_post_thumbnail” to work’ is closed to new replies.