Open hysyshub opened 5 years ago
Are you using MultiPostThumbnails::the_post_thumbnail()
in your theme to display the thumbnail?
Yes
On Fri, 7 Dec 2018, 20:42 Chris Scott <notifications@github.com wrote:
Are you using MultiPostThumbnails::the_post_thumbnail() https://github.com/voceconnect/multi-post-thumbnails/wiki#display-the-thumbnail in your theme to display the thumbnail?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/voceconnect/multi-post-thumbnails/issues/135#issuecomment-445262093, or mute the thread https://github.com/notifications/unsubscribe-auth/ApdfCmCX2o_VX3VxaQCE8NLrD3B5yQE7ks5u2oVGgaJpZM4ZH_-p .
Can you post the code?
Hello, I think I am having the same issue. This is the code I posted in the code snippet plugin for WP.
if (class_exists('MultiPostThumbnails')) {
new MultiPostThumbnails(array( 'label' => 'Secondary Image', 'id' => 'secondary-image', 'post_type' => 'post' ) );
}
I think there is something else I am supposed to do? MultiPostThumbnails::the_post_thumbnail() — does this go in the post somewhere? Total newbie—sorry if the question doesn't make sense :-) I can see the second image on the post edit page below the featured image thumbnail. Can't figure out how to get it to post on the homepage (loop?) Thx!
Hello, I have installed this plugin sometimes its working fine but most of the time it does not display the image in front area as well as admin area. Secondary image uploaded successfully but not showing anywhere. I have to have call get_post_meta method to accomplish this .
Kindly suggest.