I am using a plugin called Multiple Thumbnail Image I have run into a situation where I cant get the syntax right. Please assist:
<?php if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image'); } else ?> <img src="/images/icon.png" alt="<?php the_title(); ?>" />
[No bumping, thank you.]
- The topic ‘Conditional Default Image’ is closed to new replies.