I want to show the 3 latests posts with a featured image (and exclude those without a feat image).
So i create a loop and add a conditional inside like this:
<Loop type=post count=3 orderby=title> <If field=image> <div> <Field image /> <Field title /> </div> </If> </Loop>
My problem: it renders only 1 post… because the 2 following have no featured image and are excluded.
If i modify the posts order, with
order=desc for instance, it renders 2 posts (the third has no img): still not 3 posts.
So, i understand that the “holes” let by the excluded posts in the loop are not filled by the following posts with a feat image.
Maybe my conditional is not correct?