How to stop the continuation of posts on the second loop from where the first ended July 19, 2022 by Tarik Billa Add wp_reset_postdata(); After your loop that gets the 5 posts for your slider.