How do I exclude a post from 2nd or 3rd loop?
-
My layout involves 3 loops.
The first loop is 1 post with the entire contents displayed in the wide column on the left.
The second loop is in the middle column beginning at the top and displays titles and excerpts of the 8 most recent posts.
The third loop is located directly below the second loop and displays titles only.
The desired effect is for whatever post is displayed on the left, be it the latest post or a post displayed viewed as a single.php post to be omitted from the loop on the right.
Example, a viewer comes to my site and clicks the third post from 2nd loop, and is now viewing it in its entirety – but she still sees the link to that post in the same spot.
Any way to avoid this?
- The topic ‘How do I exclude a post from 2nd or 3rd loop?’ is closed to new replies.