[Plugin: Multiple Post Thumbnails] Secondary thumbnail not showing
-
Hi Guys,
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?
Cheers,
Rich
https://www.ads-software.com/extend/plugins/multiple-post-thumbnails/
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘[Plugin: Multiple Post Thumbnails] Secondary thumbnail not showing’ is closed to new replies.