I am trying to use the code below to draw to link to a post’s custom field which I have defined as an image thumbnail. For some reason the thumbnail does not display. Do I not have the bold code in the appropriate place in the loop?
Author: mitcho (Michael Yoshitaka Erlewine)
<?php if ($related_query->have_posts()):?>
<?php while ($related_query->have_posts()) : $related_query->the_post(); ?>