niccolo_tapparo 0 Report post Posted February 23, 2011 Hi, I have just updated my blog to WordPress 3.1 and I have an issue with carousel. The carousel works on category slug and it prints last five posts. Permalinks and titles are ok, but the thumbnail is wrong. All posts in the carousel have the same thumbnail, which is the same thumbnail of the first post in the page (see the picture below). I fixed it by changing /section/carousel/section.carousel/section.carousel.php. I modified lines 145-147 from <?php if(has_post_thumbnail()): ?> <?php the_post_thumbnail(array( $carousel_image_width, $carousel_image_height ),array( 'class' => 'list_thumb list-thumb' ));?> <?php else: ?> to <?php if(has_post_thumbnail($rpost->ID)): ?> <?php echo get_the_post_thumbnail($rpost->ID,array( $carousel_image_width, $carousel_image_height ),array( 'class' => 'list_thumb list-thumb' ));?> <?php else: ?> Now, as you can see on the picture below, it works! I think that there was a conflict between multiple loops on the same page. Share this post Link to post Share on other sites
sidianmsjones 0 Report post Posted February 23, 2011 This might work for my issue as well, but I'm hoping to see an admin resolution to it. Thanks for sharing this. Share this post Link to post Share on other sites