[Plugin: Multiple Post Thumbnails] Image not displaying
-
I can get the Secondary Image Upload box to show up in the admin area, but I can’t manage to get the image to display on the page.
This is the code I am using to try and make it display (From: https://www.ads-software.com/extend/plugins/multiple-post-thumbnails/installation/):
<?php if (class_exists('MultiPostThumbnails') && MultiPostThumbnails::has_post_thumbnail('post', 'secondary-image')) : MultiPostThumbnails::the_post_thumbnail('post', 'secondary-image'); endif; ?>
I tried adding a random echo inside the if statement to see if it gets hit, but it doesn’t echo out, so i’m guessing somehow the condition is not being met?
What am I missing?
- The topic ‘[Plugin: Multiple Post Thumbnails] Image not displaying’ is closed to new replies.