This is regarding the Multiple post thumbnails plugin.
Is it possible to show thumbnails outside the loop?
Providing a post id (or slug?), of course.
http://wordpress.org/extend/plugins/multiple-post-thumbnails/
This is regarding the Multiple post thumbnails plugin.
Is it possible to show thumbnails outside the loop?
Providing a post id (or slug?), of course.
http://wordpress.org/extend/plugins/multiple-post-thumbnails/
I got it Working outside the loop!
I used this code:
<?php
global $wp_query;
$thePostID = $wp_query->post->ID;
?>
<?php if (class_exists('MultiPostThumbnails')
&& MultiPostThumbnails::has_post_thumbnail('page', 'header-interna', $thePostID)) :
MultiPostThumbnails::the_post_thumbnail('page', 'header-interna', $thePostID, 'header-interna-post'); endif; ?>In my case:
page = post type I desire
header-interna = new thumbnail I created with the plugin
header-interna-post = thumbnail size I created.
Thank you @brubrant for this...I've been looking for a few days and finally came across this thread. Here is what I was able to accomplish with your solution: http://wordpress.org/support/topic/plugin-multiple-post-thumbnails-secondary-thumbnail-not-showing
You must log in to post.