Hey,
so, I've got a normal WP loop on my index.php file. I've got three images, that I want to attach to the posts depending on their status (sticky, latest post, sticky & latest post at the same time).
I use this to attach the sticky image:
<?php if (is_sticky()) { echo '<span class="featured"></span>'; } ?>
Now I've got a problem. I can't figure out how to target the latest non-sticky post.
Once I've got that, attaching the third image to sticky/latest posts isn't gonna be a problem.
Any help is greatly appreciated.