[Resolved] One loop with two different the_post_thumbnail sizes
So far, my index.php is composed of two loops, once calling one post only, and
the_post_thumbnail('latest'), and one calling 3 posts with an offset of 1, and a styling of
This allows me to have the latest article with a bigger thumbnail than the other articles on the homepage.
However it causes some issues with the pagination. Navigation does not work properly since I have two loops.
Would it be possible to have one loop only, and change
the_post_thumbnailfor the first article, maybe with conditional statements?
Thank you for your help!
- The topic ‘[Resolved] One loop with two different the_post_thumbnail sizes’ is closed to new replies.