I have posts which are ‘films’, and posts which are ‘news’.
The film posts have a custom field which points to a preview image of the film.
I would like to only display the image, on archive/category pages if the custom field is present.
lists posts – if it has custom field of ‘thumbnail’ then show “class – thumbnail”.
if not, don’t show “class – thumbnail”.
continue with the loop.
comprende? any help most appreciated.
- The topic ‘show image if custom field present in the loop.’ is closed to new replies.