Support » Plugins » Hacks » get_the_post_thumbnail() problem

  • Resolved robbie.groep


    Is there a way to get all the related post thumbnails with “get_the_post_thumbnail()”?

    I’m using this in my taxonomy-{taxonomy}.php template:

             <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
             <?php echo get_the_post_thumbnail( $ids, array(150,150) ); ?>

    The result is, that i’m only getting 1 thumbnail, instead of 2.

    I’ve got 2 posts with each one post thumb.
    These have the same taxonomy and I want to get those 2 thumbnails into the taxonomy template…

    Is there a hack for this?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_the_post_thumbnail() problem’ is closed to new replies.