If we're using multiple loops on a page, whether with Easy Posts, Repeaters or both, we may run into the same posts appearing multiple times. In this premium tutorial, we'll go through one way that we can prevent duplicate posts from being included on the page.

Live Demo

In the demo, all of the Easy Posts and Repeater elements are just fetching the latest posts, but none of the posts are seen twice on the page.

Also, notice as we click each post the current post is also removed from all of the repeaters and easy post loops. This is useful when building single post templates where we have 'latest posts' or similar and we don't want to include the current post in the list.

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?


Find the article helpful and wish to donate?



You need to be logged in to view and post comments.
Not a member yet? Join here.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: