Am trying to show the secondary image in my loop on my home page using the following code to first single out the post from a specific category, then retrieve the image from that post –
<?php query_posts('showposts=1&category_name=featured'); ?> <?php if (class_exists('MultiPostThumbnails') && MultiPostThumbnails::has_post_thumbnail('post', 'secondary-image')) : MultiPostThumbnails::the_post_thumbnail('post', 'secondary-image'); endif; ?>
[Please post code or markup snippets between backticks or use the code button.]
But the image is not showing up. Any ideas why this could be?
- The topic ‘[Plugin: Multiple Post Thumbnails] Secondary thumbnail not showing’ is closed to new replies.