the_post_thumbnail with the wrong post
-
Hi,
I’m using this code to add an image with a post:
<?php if ( has_post_thumbnail() ) { the_post_thumbnail('custom-post-image'); }?> <?php the_content(); ?>
It’s working but the image is not with the good post… why?
Thanks…
Sam
- The topic ‘the_post_thumbnail with the wrong post’ is closed to new replies.